Package org.drools.mvelcompiler.context
Class MvelCompilerContext
java.lang.Object
org.drools.mvelcompiler.context.MvelCompilerContext
-
Constructor Summary
ConstructorsConstructorDescriptionMvelCompilerContext(org.drools.util.TypeResolver typeResolver) MvelCompilerContext(org.drools.util.TypeResolver typeResolver, String scopeSuffix) -
Method Summary
Modifier and TypeMethodDescriptionaddDeclaration(String name, Class<?> clazz) addDeclaredFunction(String name, String returnType, List<String> arguments) addStaticMethod(String name, Method method) voidfindDeclarations(String name) findDeclaredFunction(String name) findStaticMethod(String name) Class<?>resolveType(String name) voidsetRootPatternPrefix(Class<?> rootPattern, String rootPrefix)
-
Constructor Details
-
MvelCompilerContext
public MvelCompilerContext(org.drools.util.TypeResolver typeResolver) -
MvelCompilerContext
-
-
Method Details
-
addDeclaration
-
findDeclarations
-
findEnum
-
resolveType
-
addStaticMethod
-
findStaticMethod
-
addDeclaredFunction
public MvelCompilerContext addDeclaredFunction(String name, String returnType, List<String> arguments) -
findDeclaredFunction
-
setRootPatternPrefix
-
getRootPattern
-
createRootTypePrefix
-
addUsedBinding
-
getUsedBindings
-