Package org.codehaus.janino
Class ScriptEvaluator.Script
java.lang.Object
org.codehaus.janino.ScriptEvaluator.Script
- Enclosing class:
- ScriptEvaluator
Represents one script that this
ScriptEvaluator
declares. Typically there exactly one such
script, but there can be two or more - see ScriptEvaluator()
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The name of the generated method.protected boolean
Whether the generated method overrides a method declared by a supertype; defaults tofalse
.private String[]
private Class<?>[]
protected Class<?>
The generated method's return type.protected boolean
Whether the method is generatedstatic
; defaults totrue
.private Class<?>[]
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
overrideMethod
protected boolean overrideMethodWhether the generated method overrides a method declared by a supertype; defaults tofalse
. -
staticMethod
protected boolean staticMethodWhether the method is generatedstatic
; defaults totrue
. -
returnType
The generated method's return type.null
means "use the default return type". -
methodName
The name of the generated method. -
parameterNames
-
parameterTypes
-
thrownExceptions
-
-
Constructor Details
-
Script
Script(String methodName)
-