janino.net

org.codehaus.janino
Class Java.FunctionDeclarator.FormalParameters

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by 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
 Java.FunctionDeclarator.FormalParameter[] parameters
          The parameters of this function, but not the variableArity.
 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
Java.FunctionDeclarator.FormalParameters()
           
Java.FunctionDeclarator.FormalParameters(Location location, Java.FunctionDeclarator.FormalParameter[] parameters, boolean variableArity)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parameters

public final Java.FunctionDeclarator.FormalParameter[] parameters
The parameters of this function, but not the variableArity.


variableArity

public final boolean variableArity
Whether this method has 'variable arity', i.e. its last parameter has an ellipsis ('...') after the type.

Constructor Detail

Java.FunctionDeclarator.FormalParameters

public Java.FunctionDeclarator.FormalParameters()

Java.FunctionDeclarator.FormalParameters

public Java.FunctionDeclarator.FormalParameters(Location location,
                                                Java.FunctionDeclarator.FormalParameter[] parameters,
                                                boolean variableArity)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

janino.net