Class ScriptEvaluator.Script

  • Enclosing class:
    ScriptEvaluator

    class ScriptEvaluator.Script
    extends java.lang.Object
    Represents one script that this ScriptEvaluator declares. Typically there exactly one such script, but there can be two or more - see ScriptEvaluator().
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String methodName
      The name of the generated method.
      protected boolean overrideMethod
      Whether the generated method overrides a method declared by a supertype; defaults to false.
      private java.lang.String[] parameterNames  
      private java.lang.Class<?>[] parameterTypes  
      protected java.lang.Class<?> returnType
      The generated method's return type.
      protected boolean staticMethod
      Whether the method is generated static; defaults to true.
      private java.lang.Class<?>[] thrownExceptions  
    • Constructor Summary

      Constructors 
      Constructor Description
      Script​(java.lang.String methodName)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • overrideMethod

        protected boolean overrideMethod
        Whether the generated method overrides a method declared by a supertype; defaults to false.
      • staticMethod

        protected boolean staticMethod
        Whether the method is generated static; defaults to true.
      • methodName

        private java.lang.String methodName
        The name of the generated method.
      • parameterNames

        private java.lang.String[] parameterNames
      • parameterTypes

        private java.lang.Class<?>[] parameterTypes
      • thrownExceptions

        private java.lang.Class<?>[] thrownExceptions
    • Constructor Detail

      • Script

        Script​(java.lang.String methodName)