public class JavaAnalysisResult extends Object implements org.drools.compiler.compiler.AnalysisResult
| Constructor and Description |
|---|
JavaAnalysisResult(String analyzedExpr,
Set<String> identifiers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalVariable(String identifier,
org.drools.compiler.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr descr) |
String |
getAnalyzedExpr() |
Set<String> |
getAssignedVariables() |
org.drools.compiler.rule.builder.dialect.java.parser.JavaContainerBlockDescr |
getBlockDescrs() |
org.drools.compiler.compiler.BoundIdentifiers |
getBoundIdentifiers() |
Set<String> |
getIdentifiers() |
Set<String> |
getLocalVariables() |
Map<String,org.drools.compiler.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr> |
getLocalVariablesMap() |
Set<String> |
getNotBoundedIdentifiers() |
Class<?> |
getReturnType() |
void |
setAssignedVariables(Set<String> assignedVariables) |
void |
setBlockDescrs(org.drools.compiler.rule.builder.dialect.java.parser.JavaContainerBlockDescr blocks) |
void |
setBoundIdentifiers(org.drools.compiler.compiler.BoundIdentifiers boundIdentifiers) |
void |
setNotBoundedIdentifiers(Set<String> notBoundedIdentifiers) |
public String getAnalyzedExpr()
public org.drools.compiler.compiler.BoundIdentifiers getBoundIdentifiers()
getBoundIdentifiers in interface org.drools.compiler.compiler.AnalysisResultpublic void setBoundIdentifiers(org.drools.compiler.compiler.BoundIdentifiers boundIdentifiers)
public Set<String> getIdentifiers()
getIdentifiers in interface org.drools.compiler.compiler.AnalysisResultpublic Set<String> getLocalVariables()
getLocalVariables in interface org.drools.compiler.compiler.AnalysisResultpublic Map<String,org.drools.compiler.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr> getLocalVariablesMap()
public void addLocalVariable(String identifier, org.drools.compiler.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr descr)
public Set<String> getNotBoundedIdentifiers()
getNotBoundedIdentifiers in interface org.drools.compiler.compiler.AnalysisResultpublic org.drools.compiler.rule.builder.dialect.java.parser.JavaContainerBlockDescr getBlockDescrs()
public void setBlockDescrs(org.drools.compiler.rule.builder.dialect.java.parser.JavaContainerBlockDescr blocks)
public Class<?> getReturnType()
getReturnType in interface org.drools.compiler.compiler.AnalysisResultCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.