public class DeclarationScopeResolver extends Object
Constructor and Description |
---|
DeclarationScopeResolver(Map<String,Class<?>> maps) |
DeclarationScopeResolver(Map<String,Class<?>> map,
Stack<RuleConditionElement> buildStack) |
Modifier and Type | Method and Description |
---|---|
boolean |
available(Rule rule,
String name) |
Pattern |
findPatternByIndex(int index) |
Declaration |
getDeclaration(Rule rule,
String identifier) |
static Map<String,Class<?>> |
getDeclarationClasses(Map<String,Declaration> declarations) |
Map<String,Class<?>> |
getDeclarationClasses(Rule rule) |
Map<String,Declaration> |
getDeclarations(Rule rule) |
Map<String,Declaration> |
getDeclarations(Rule rule,
String consequenceName)
Return all declarations scoped to the current
RuleConditionElement in the build stack
|
static InternalReadAccessor |
getReadAcessor(String identifier,
ObjectType objectType) |
boolean |
isDuplicated(Rule rule,
String name,
String type) |
void |
setPackage(Package pkg) |
public DeclarationScopeResolver(Map<String,Class<?>> map, Stack<RuleConditionElement> buildStack)
public void setPackage(Package pkg)
public Declaration getDeclaration(Rule rule, String identifier)
public static InternalReadAccessor getReadAcessor(String identifier, ObjectType objectType)
public Map<String,Declaration> getDeclarations(Rule rule)
public Map<String,Declaration> getDeclarations(Rule rule, String consequenceName)
public static Map<String,Class<?>> getDeclarationClasses(Map<String,Declaration> declarations)
public Pattern findPatternByIndex(int index)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.