Package | Description |
---|---|
org.codehaus.modello.plugin.java.javasource |
Modifier and Type | Method | Description |
---|---|---|
JParameter |
JMethod.getParameter(int index) |
Returns the JParameter at the given index.
|
JParameter |
JMethodSignature.getParameter(int index) |
Returns the JParameter at the given index.
|
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.
|
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. |
Modifier and Type | Method | Description |
---|---|---|
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.
|
void |
JMethodSignature.addParameter(JParameter parameter) |
Adds the given parameter to this JMethodSignature's list of
parameters.
|
JConstructor |
JClass.createConstructor(JParameter[] params) |
Creates a new JConstructor and adds it to this
JClass.
|
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.