Class Java.CatchParameter
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.CatchParameter
- All Implemented Interfaces:
Java.Locatable
- Enclosing class:
Java
Representation of a "catch" parameter.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhether the parameter is declared FINAL.The local variable associated with this parameter.final StringThe name of the parameter.final Java.Type[]The types of the parameter.Fields inherited from class Java.Located
NOWHERE -
Constructor Summary
ConstructorsConstructorDescriptionCatchParameter(Location location, boolean finaL, Java.Type[] types, String name) -
Method Summary
Methods inherited from class Java.Located
getLocation, throwCompileException
-
Field Details
-
finaL
public final boolean finaLWhether the parameter is declared FINAL. -
types
The types of the parameter. -
name
The name of the parameter. -
localVariable
The local variable associated with this parameter.
-
-
Constructor Details
-
CatchParameter
-
-
Method Details
-
toString
-
setEnclosingScope
- Parameters:
enclosingScope- The scope that encloses this catch parameter declaration
-