org.apache.beehive.netui.compiler.grammar
Class CatchGrammar

Object
  extended by AnnotationGrammar
      extended by BaseFlowControllerGrammar
          extended by CatchGrammar

public class CatchGrammar
extends BaseFlowControllerGrammar


Constructor Summary
CatchGrammar(AnnotationProcessorEnvironment env, Diagnostics diags, String requiredRuntimeVersion, RuntimeVersionChecker runtimeVersionChecker, String annotationRootName, FlowControllerInfo fcInfo)
           
 
Method Summary
 String[][] getMutuallyExclusiveAttrs()
          Each entry in this array (a String[]) lists mutually exclusive attributes.
 String[][] getRequiredAttrs()
          Each entry in this array (a String[]) lists attributes of which one must exist in this tag.
protected  Object onEndCheck(AnnotationMirror annotation, AnnotationMirror[] parentAnnotations, MemberDeclaration classMember, Map checkResults)
           
 
Methods inherited from class AnnotationGrammar
addError, addError, addError, addMemberArrayGrammar, addMemberGrammar, addMemberType, addWarning, addWarning, addWarning, beginCheck, check, check, endCheck, getAttrDependencies, getDiagnostics, getEnv, getRequiredRuntimeVersion, getRuntimeVersionChecker, onBeginCheck, onCheckMember
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchGrammar

public CatchGrammar(AnnotationProcessorEnvironment env,
                    Diagnostics diags,
                    String requiredRuntimeVersion,
                    RuntimeVersionChecker runtimeVersionChecker,
                    String annotationRootName,
                    FlowControllerInfo fcInfo)
Method Detail

getMutuallyExclusiveAttrs

public String[][] getMutuallyExclusiveAttrs()
Description copied from class: AnnotationGrammar
Each entry in this array (a String[]) lists mutually exclusive attributes.

Overrides:
getMutuallyExclusiveAttrs in class AnnotationGrammar

getRequiredAttrs

public String[][] getRequiredAttrs()
Description copied from class: AnnotationGrammar
Each entry in this array (a String[]) lists attributes of which one must exist in this tag.

Overrides:
getRequiredAttrs in class AnnotationGrammar

onEndCheck

protected Object onEndCheck(AnnotationMirror annotation,
                            AnnotationMirror[] parentAnnotations,
                            MemberDeclaration classMember,
                            Map checkResults)
Overrides:
onEndCheck in class AnnotationGrammar
Parameters:
checkResults - map of member-name (String) -> result-from-checking (Object)
Returns:
a result (any Object) that will be passed back to the parent checker. May be null.