Package org.mvel2.compiler
Class ExecutableLiteral
java.lang.Object
org.mvel2.compiler.ExecutableLiteral
- All Implemented Interfaces:
Serializable
,Cloneable
,Safe
,Accessor
,ExecutableStatement
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getValue
(Object ctx, Object elCtx, VariableResolverFactory variableFactory) getValue
(Object staticContext, VariableResolverFactory factory) boolean
boolean
boolean
boolean
boolean
void
setInteger32
(int integer32) void
setKnownEgressType
(Class type) void
setKnownIngressType
(Class type) setValue
(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value)
-
Field Details
-
literal
-
integer32
private int integer32 -
intOptimized
private boolean intOptimized
-
-
Constructor Details
-
ExecutableLiteral
-
ExecutableLiteral
public ExecutableLiteral(int literal)
-
-
Method Details
-
getInteger32
public int getInteger32() -
setInteger32
public void setInteger32(int integer32) -
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
-
getValue
-
getLiteral
-
intOptimized
public boolean intOptimized()- Specified by:
intOptimized
in interfaceExecutableStatement
-
setValue
public Object setValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value) -
isLiteralOnly
public boolean isLiteralOnly()- Specified by:
isLiteralOnly
in interfaceExecutableStatement
-
isEmptyStatement
public boolean isEmptyStatement()- Specified by:
isEmptyStatement
in interfaceExecutableStatement
-
isExplicitCast
public boolean isExplicitCast()- Specified by:
isExplicitCast
in interfaceExecutableStatement
-