Class Interpreter.AnnotatedCall

java.lang.Object
org.apache.commons.jexl3.internal.Interpreter.AnnotatedCall
All Implemented Interfaces:
Callable<Object>
Enclosing class:
Interpreter

public class Interpreter.AnnotatedCall extends Object implements Callable<Object>
An annotated call.
  • Field Details

    • stmt

      private final ASTAnnotatedStatement stmt
      The statement.
    • index

      private final int index
      The child index.
    • data

      private final Object data
      The data.
    • processed

      private boolean processed
      Tracking whether we processed the annotation.
  • Constructor Details

    • AnnotatedCall

      AnnotatedCall(ASTAnnotatedStatement astmt, int aindex, Object adata)
      Simple ctor.
      Parameters:
      astmt - the statement
      aindex - the index
      adata - the data
  • Method Details

    • call

      public Object call() throws Exception
      Specified by:
      call in interface Callable<Object>
      Throws:
      Exception
    • getStatement

      public Object getStatement()
      Returns:
      the actual statement.
    • isProcessed

      public boolean isProcessed()
      Returns:
      whether the statement has been processed