Package org.codehaus.janino
Class Java.FunctionDeclarator.FormalParameters
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.FunctionDeclarator.FormalParameters
- All Implemented Interfaces:
Java.Locatable
- Enclosing class:
- Java.FunctionDeclarator
Representation of the (formal) function parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe parameters of this function, but not thevariableArity
.final boolean
Whether this method has "variable arity", i.e.Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
Constructor Summary
ConstructorsConstructorDescriptionFormalParameters
(Location location) FormalParameters
(Location location, Java.FunctionDeclarator.FormalParameter[] parameters, boolean variableArity) -
Method Summary
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
Field Details
-
parameters
The parameters of this function, but not thevariableArity
. -
variableArity
public final boolean variableArityWhether this method has "variable arity", i.e. its last parameter has an ellipsis ("...") after the type.
-
-
Constructor Details
-
FormalParameters
-
FormalParameters
public FormalParameters(Location location, Java.FunctionDeclarator.FormalParameter[] parameters, boolean variableArity)
-
-
Method Details