public class MVELExprAnalyzer extends Object
Constructor and Description |
---|
MVELExprAnalyzer() |
Modifier and Type | Method and Description |
---|---|
static MVELAnalysisResult |
analyze(Set<String> identifiers,
BoundIdentifiers availableIdentifiers)
Analyse an expression.
|
static MVELAnalysisResult |
analyzeExpression(PackageBuildContext context,
String expr,
BoundIdentifiers availableIdentifiers,
Map<String,Class<?>> localTypes,
String contextIdentifier,
Class kcontextClass)
Analyze an expression.
|
static Class<?> |
getExpressionType(PackageBuildContext context,
Map<String,Class<?>> declCls,
org.drools.core.rule.RuleConditionElement source,
String expression) |
public static MVELAnalysisResult analyzeExpression(PackageBuildContext context, String expr, BoundIdentifiers availableIdentifiers, Map<String,Class<?>> localTypes, String contextIdentifier, Class kcontextClass)
expr
- The expression to analyze.availableIdentifiers
- Total set of declarations available.Set
of declarations used by the expression.org.antlr.runtime.RecognitionException
- If an error occurs in the parser.public static MVELAnalysisResult analyze(Set<String> identifiers, BoundIdentifiers availableIdentifiers)
org.antlr.runtime.RecognitionException
- If an error occurs in the parser.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.