Package org.mvel2.compiler
Class ExecutableLiteral
java.lang.Object
org.mvel2.compiler.ExecutableLiteral
- All Implemented Interfaces:
Serializable,Cloneable,Safe,Accessor,ExecutableStatement
- Author:
- Christopher Brock
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory) getValue(Object staticContext, VariableResolverFactory factory) booleanbooleanbooleanbooleanbooleanvoidsetInteger32(int integer32) voidsetKnownEgressType(Class type) voidsetKnownIngressType(Class type) setValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value)
-
Constructor Details
-
ExecutableLiteral
-
ExecutableLiteral
public ExecutableLiteral(int literal)
-
-
Method Details
-
getInteger32
public int getInteger32() -
setInteger32
public void setInteger32(int integer32) -
getValue
- Specified by:
getValuein interfaceExecutableStatement
-
setKnownIngressType
- Specified by:
setKnownIngressTypein interfaceExecutableStatement
-
setKnownEgressType
- Specified by:
setKnownEgressTypein interfaceExecutableStatement
-
getKnownIngressType
- Specified by:
getKnownIngressTypein interfaceExecutableStatement
-
getKnownEgressType
- Specified by:
getKnownEgressTypein interfaceAccessor- Specified by:
getKnownEgressTypein interfaceExecutableStatement
-
isConvertableIngressEgress
public boolean isConvertableIngressEgress()- Specified by:
isConvertableIngressEgressin interfaceExecutableStatement
-
computeTypeConversionRule
public void computeTypeConversionRule()- Specified by:
computeTypeConversionRulein interfaceExecutableStatement
-
getValue
-
getLiteral
-
intOptimized
public boolean intOptimized()- Specified by:
intOptimizedin interfaceExecutableStatement
-
setValue
public Object setValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value) -
isLiteralOnly
public boolean isLiteralOnly()- Specified by:
isLiteralOnlyin interfaceExecutableStatement
-
isEmptyStatement
public boolean isEmptyStatement()- Specified by:
isEmptyStatementin interfaceExecutableStatement
-
isExplicitCast
public boolean isExplicitCast()- Specified by:
isExplicitCastin interfaceExecutableStatement
-