org.exolab.javasource
public final class JParameter extends JAnnotatedElementHelper
Version: $Revision: 6324 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
Constructor Summary | |
---|---|
JParameter(JType type, String name)
Creates a new JParameter with the given type, and name.
|
Method Summary | |
---|---|
String | getName()
Returns the name of the parameter.
|
JType | getType()
Returns the parameter type.
|
void | setName(String name)
Sets the name of this parameter.
|
void | setType(JType type)
Sets the type of this parameter.
|
String | toString()
Returns the String representation of this JParameter. |
Parameters: type the JType to associate with this JParameter name name of the JParameter
Returns: the name of the parameter.
Returns: the parameter type.
Parameters: name the new name of the parameter
Parameters: type the new JType of this parameter
Returns: the String representation of this JParameter