| java.lang.Object org.apache.beehive.netui.compiler.AnnotationGrammar
All known Subclasses: org.apache.beehive.netui.compiler.grammar.BaseValidationRuleGrammar, org.apache.beehive.netui.compiler.grammar.BaseFlowControllerGrammar, org.apache.beehive.netui.compiler.grammar.ActionOutputGrammar, org.apache.beehive.netui.compiler.grammar.SharedFlowRefGrammar, org.apache.beehive.netui.compiler.grammar.ValidatableBeanGrammar, org.apache.beehive.netui.compiler.grammar.ValidationMessageArgsGrammar, org.apache.beehive.netui.compiler.grammar.ValidationRulesContainerGrammar,
AnnotationGrammar | abstract public class AnnotationGrammar implements JpfLanguageConstants(Code) | | Our base class for customizable annotation tag grammars. It has stock behavior for basic
things like making sure required attributes exist, and provides plugin points for more
complex checks.
|
Method Summary | |
protected void | addError(Declaration element, String key) | protected void | addError(Declaration element, String key, Object[] args) | protected void | addError(Declaration element, String key, Object arg) | protected void | addError(Declaration element, String key, Object arg1, Object arg2) | protected void | addError(Declaration element, String key, Object arg1, Object arg2, Object arg3) | protected void | addError(AnnotationValue element, String key) | protected void | addError(AnnotationValue element, String key, Object[] args) | protected void | addError(AnnotationValue element, String key, Object arg1) | protected void | addError(AnnotationValue element, String key, Object arg1, Object arg2) | protected void | addError(AnnotationValue element, String key, Object arg1, Object arg2, Object arg3) | protected void | addError(AnnotationInstance element, String key) | protected void | addError(AnnotationInstance element, String key, Object[] args) | protected void | addError(AnnotationInstance element, String key, Object arg1) | protected void | addError(AnnotationInstance element, String key, Object arg1, Object arg2) | protected void | addError(AnnotationInstance element, String key, Object arg1, Object arg2, Object arg3) | protected void | addMemberArrayGrammar(String memberName, AnnotationGrammar grammar) | protected void | addMemberGrammar(String memberName, AnnotationGrammar grammar) | protected void | addMemberType(String memberName, AnnotationMemberType type) | protected void | addWarning(Declaration element, String key) | protected void | addWarning(Declaration element, String key, Object[] args) | protected void | addWarning(Declaration element, String key, Object arg) | protected void | addWarning(Declaration element, String key, Object arg1, Object arg2) | protected void | addWarning(Declaration element, String key, Object arg1, Object arg2, Object arg3) | protected void | addWarning(AnnotationValue element, String key) | protected void | addWarning(AnnotationValue element, String key, Object[] args) | protected void | addWarning(AnnotationValue element, String key, Object arg1) | protected void | addWarning(AnnotationValue element, String key, Object arg1, Object arg2) | protected void | addWarning(AnnotationValue element, String key, Object arg1, Object arg2, Object arg3) | protected void | addWarning(AnnotationInstance element, String key) | protected void | addWarning(AnnotationInstance element, String key, Object[] args) | protected void | addWarning(AnnotationInstance element, String key, Object arg1) | protected void | addWarning(AnnotationInstance element, String key, Object arg1, Object arg2) | protected void | addWarning(AnnotationInstance element, String key, Object arg1, Object arg2, Object arg3) | final public boolean | beginCheck(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember) | final public Object | check(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember) | final public Object | check(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember, int annotationArrayIndex) | final public Object | endCheck(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember, Set wasPresent, Map checkResults) a result (any Object) that will be passed back to the parent checker. | public String[][] | getAttrDependencies() Each entry in this array (a String[]) is an array whose first element is an attribute that
requires at least one of the subsequent elements to exist as an attribute. | public Diagnostics | getDiagnostics() | final public CoreAnnotationProcessorEnv | getEnv() | public String[][] | getMutuallyExclusiveAttrs() Each entry in this array (a String[]) lists mutually exclusive attributes. | public String[][] | getRequiredAttrs() Each entry in this array (a String[]) lists attributes of which one must exist in this tag. | public String | getRequiredRuntimeVersion() | public RuntimeVersionChecker | getRuntimeVersionChecker() | protected boolean | onBeginCheck(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember) | protected void | onCheckMember(AnnotationTypeElementDeclaration memberDecl, AnnotationValue member, AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember) | protected Object | onEndCheck(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember, Map checkResults) Parameters: checkResults - map of member-name (String) -> result-from-checking (Object) a result (any Object) that will be passed back to the parent checker. |
getAttrDependencies | public String[][] getAttrDependencies()(Code) | | Each entry in this array (a String[]) is an array whose first element is an attribute that
requires at least one of the subsequent elements to exist as an attribute.
|
getMutuallyExclusiveAttrs | public String[][] getMutuallyExclusiveAttrs()(Code) | | Each entry in this array (a String[]) lists mutually exclusive attributes.
|
getRequiredAttrs | public String[][] getRequiredAttrs()(Code) | | Each entry in this array (a String[]) lists attributes of which one must exist in this tag.
|
getRequiredRuntimeVersion | public String getRequiredRuntimeVersion()(Code) | | |
|
|