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
public static final class Java.FunctionDeclarator.FormalParameters extends Java.Located
Representation of the (formal) function parameters.
-
-
Field Summary
Fields Modifier and Type Field Description Java.FunctionDeclarator.FormalParameter[]
parameters
The parameters of this function, but not thevariableArity
.boolean
variableArity
Whether this method has "variable arity", i.e. its last parameter has an ellipsis ("...") after the type.-
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
-
Constructor Summary
Constructors Constructor Description FormalParameters(Location location)
FormalParameters(Location location, Java.FunctionDeclarator.FormalParameter[] parameters, boolean variableArity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
-
-
-
Field Detail
-
parameters
public final Java.FunctionDeclarator.FormalParameter[] parameters
The parameters of this function, but not thevariableArity
.
-
variableArity
public final boolean variableArity
Whether this method has "variable arity", i.e. its last parameter has an ellipsis ("...") after the type.
-
-
Constructor Detail
-
FormalParameters
public FormalParameters(Location location)
-
FormalParameters
public FormalParameters(Location location, Java.FunctionDeclarator.FormalParameter[] parameters, boolean variableArity)
-
-