Class Interpreter.AnnotatedCall
- java.lang.Object
-
- org.apache.commons.jexl3.internal.Interpreter.AnnotatedCall
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Object>
- Enclosing class:
- Interpreter
public class Interpreter.AnnotatedCall extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Object>
An annotated call.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
data
The data.private int
index
The child index.private boolean
processed
Tracking whether we processed the annotation.private ASTAnnotatedStatement
stmt
The statement.
-
Constructor Summary
Constructors Constructor Description AnnotatedCall(ASTAnnotatedStatement astmt, int aindex, java.lang.Object adata)
Simple ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call()
java.lang.Object
getStatement()
boolean
isProcessed()
-
-
-
Field Detail
-
stmt
private final ASTAnnotatedStatement stmt
The statement.
-
index
private final int index
The child index.
-
data
private final java.lang.Object data
The data.
-
processed
private boolean processed
Tracking whether we processed the annotation.
-
-
Constructor Detail
-
AnnotatedCall
AnnotatedCall(ASTAnnotatedStatement astmt, int aindex, java.lang.Object adata)
Simple ctor.- Parameters:
astmt
- the statementaindex
- the indexadata
- the data
-
-
Method Detail
-
call
public java.lang.Object call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.lang.Object>
- Throws:
java.lang.Exception
-
getStatement
public java.lang.Object getStatement()
- Returns:
- the actual statement.
-
isProcessed
public boolean isProcessed()
- Returns:
- whether the statement has been processed
-
-