Package org.mvel2.compiler
Class CompiledAccExpression
java.lang.Object
org.mvel2.compiler.CompiledAccExpression
- All Implemented Interfaces:
Serializable
,Cloneable
,Accessor
,ExecutableStatement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Accessor
private ParserContext
private char[]
private Class
private int
private int
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledAccExpression
(char[] expression, int start, int offset, Class ingressType, ParserContext context) CompiledAccExpression
(char[] expression, Class ingressType, ParserContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getValue
(Object ctx, Object elCtx, VariableResolverFactory variableFactory) getValue
(Object staticContext, VariableResolverFactory factory) boolean
boolean
boolean
boolean
boolean
void
setKnownEgressType
(Class type) void
setKnownIngressType
(Class type) setValue
(Object ctx, Object elCtx, VariableResolverFactory vrf, Object value)
-
Field Details
-
expression
private char[] expression -
start
private int start -
offset
private int offset -
accessor
-
context
-
ingressType
-
-
Constructor Details
-
CompiledAccExpression
-
CompiledAccExpression
public CompiledAccExpression(char[] expression, int start, int offset, Class ingressType, ParserContext context)
-
-
Method Details
-
setValue
-
getValue
- Specified by:
getValue
in interfaceExecutableStatement
-
setKnownIngressType
- Specified by:
setKnownIngressType
in interfaceExecutableStatement
-
setKnownEgressType
- Specified by:
setKnownEgressType
in interfaceExecutableStatement
-
getKnownIngressType
- Specified by:
getKnownIngressType
in interfaceExecutableStatement
-
getKnownEgressType
- Specified by:
getKnownEgressType
in interfaceAccessor
- Specified by:
getKnownEgressType
in interfaceExecutableStatement
-
isConvertableIngressEgress
public boolean isConvertableIngressEgress()- Specified by:
isConvertableIngressEgress
in interfaceExecutableStatement
-
computeTypeConversionRule
public void computeTypeConversionRule()- Specified by:
computeTypeConversionRule
in interfaceExecutableStatement
-
intOptimized
public boolean intOptimized()- Specified by:
intOptimized
in interfaceExecutableStatement
-
isLiteralOnly
public boolean isLiteralOnly()- Specified by:
isLiteralOnly
in interfaceExecutableStatement
-
getValue
-
getAccessor
-
isEmptyStatement
public boolean isEmptyStatement()- Specified by:
isEmptyStatement
in interfaceExecutableStatement
-
isExplicitCast
public boolean isExplicitCast()- Specified by:
isExplicitCast
in interfaceExecutableStatement
-