cb.generator
Class ParameterImpl
java.lang.Object
|
+--cb.generator.NodeImpl
|
+--cb.generator.ParameterImpl
- All Implemented Interfaces:
- Node, Parameter
- public class ParameterImpl
- extends NodeImpl
- implements Parameter
Simple representation of a method parameter.
- Version:
- $Id: ParameterImpl.java,v 1.2 2001/06/27 10:26:03 dahm Exp $
- Author:
- M. Dahm
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameter
protected Parameter parameter
ParameterImpl
public ParameterImpl()
setParameter
public void setParameter(Parameter p)
getParameter
public Parameter getParameter()
setType
public void setType(java.lang.String p)
- Specified by:
setType
in interface Parameter
getType
public java.lang.String getType()
- Specified by:
getType
in interface Parameter
dump
public void dump(java.io.PrintWriter stream)
- Default implementation prints Java code
- Specified by:
dump
in interface Node
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object