Class ScriptEvaluator.Script
- java.lang.Object
-
- org.codehaus.commons.compiler.jdk.ScriptEvaluator.Script
-
- Enclosing class:
- ScriptEvaluator
private static class ScriptEvaluator.Script extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringmethodNameThe name of the generated method.protected booleanoverrideMethodWhether the generated method overrides a method declared by a supertype.private java.lang.String[]parameterNamesprivate java.lang.Class<?>[]parameterTypesprivate java.lang.Class<?>returnTypeThe generated method's return type.protected booleanstaticMethodWhether the method is generatedstatic; defaults totrue.private java.lang.Class<?>[]thrownExceptions
-
Constructor Summary
Constructors Modifier Constructor Description privateScript()
-
-
-
Field Detail
-
overrideMethod
protected boolean overrideMethod
Whether the generated method overrides a method declared by a supertype.
-
staticMethod
protected boolean staticMethod
Whether the method is generatedstatic; defaults totrue.
-
returnType
@Nullable private java.lang.Class<?> returnType
The generated method's return type.nullmeans "use thedefault return type".
-
methodName
@Nullable private java.lang.String methodName
The name of the generated method.nullmeans to use a reasonable default.
-
parameterNames
private java.lang.String[] parameterNames
-
parameterTypes
private java.lang.Class<?>[] parameterTypes
-
thrownExceptions
private java.lang.Class<?>[] thrownExceptions
-
-