Package | Description |
---|---|
org.codehaus.modello.plugin.java.javasource | |
org.codehaus.modello.plugin.stax |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,JParameter> |
JMethodSignature.params
The list of parameters of this JMethodSignature in declared
order
|
private java.util.Map<java.lang.String,JParameter> |
JConstructor.params
List of parameters for this Constructor
|
Modifier and Type | Method and Description |
---|---|
JParameter |
JMethodSignature.getParameter(int index)
Returns the JParameter at the given index.
|
JParameter |
JMethod.getParameter(int index)
Returns the JParameter at the given index.
|
JParameter[] |
JMethodSignature.getParameters()
Returns the set of JParameters for this JMethodSignature
Note: the array is a copy, the params in the array are the actual references. |
JParameter[] |
JConstructor.getParameters()
Returns an array of JParameters consisting of the parameters
of this Method in declared order
|
JParameter[] |
JMethod.getParameters()
Returns the set of JParameters for this JMethod.
|
Modifier and Type | Method and Description |
---|---|
void |
JMethodSignature.addParameter(JParameter parameter)
Adds the given parameter to this JMethodSignature's list of
parameters.
|
void |
JConstructor.addParameter(JParameter parameter)
Adds the given parameter to this Methods list of parameters
|
void |
JMethod.addParameter(JParameter parameter)
Adds the given parameter to this JMethod's list of parameters.
|
JConstructor |
JClass.createConstructor(JParameter[] params)
Creates a new JConstructor and adds it to this
JClass.
|
Modifier and Type | Method and Description |
---|---|
private static JParameter |
StaxSerializerGenerator.param(java.lang.String type,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private void |
StaxSerializerGenerator.add(JClass jClass,
java.lang.String name,
java.lang.String before,
java.lang.String after,
JParameter... params) |