org.exolab.javasource
public class JParameter extends JAnnotatedElementHelper
Version: $Revision: 1.4 $ $Date: 2005/03/05 13:41:59 $
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 type 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 type of this parameter
Returns: the String representation of this JParameter