Uses of Class
org.codehaus.modello.plugin.java.javasource.JParameter
-
Uses of JParameter in org.codehaus.modello.plugin.java.javasource
Modifier and TypeMethodDescriptionJMethod.getParameter
(int index) Returns the JParameter at the given index.JMethodSignature.getParameter
(int index) Returns the JParameter at the given index.JConstructor.getParameters()
Returns an array of JParameters consisting of the parameters of this Method in declared orderJMethod.getParameters()
Returns the set of JParameters for this JMethod.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 TypeMethodDescriptionvoid
JConstructor.addParameter
(JParameter parameter) Adds the given parameter to this Methods list of parametersvoid
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.JClass.createConstructor
(JParameter[] params) Creates a new JConstructor and adds it to this JClass.