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 StringThe name of the generated method.protected booleanWhether 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 booleanWhether 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
-
methodName
The name of the generated method. -
parameterNames
-
parameterTypes
-
thrownExceptions
-
-
Constructor Details
-
Script
Script(String methodName)
-