RuleDependency, RuleDependencies
| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| private void | |
| private int | checkDependencyVersion(Tuple2<RuleDependency, Element> dependency, String[] ruleNames, int[] ruleVersions, int relatedRule, String relation)
|
| private RuleDependencyProcessor. | |
| private Tuple2 | findRuleDependencyProperty(Tuple2<RuleDependency, Element> dependency, RuleDependencyProcessor.
|
| private AnnotationValue | findRuleDependencyProperty(Tuple2<RuleDependency, Element> dependency, AnnotationMirror annotationMirror, RuleDependencyProcessor.
|
| public static List | |
| private static TypeMirror | |
| private ExecutableElement | |
| private String[] | |
| private int[] | |
| private String | |
| public SourceVersion | getSupportedSourceVersion()
Overrides javax. Implements javax. SupportedSourceVersion, return the source version in the
annotation.
|
| private boolean | |
| public boolean | process(Set<? extends TypeElement>
the annotation interfaces requested to be processed annotations, RoundEnvironment environment for information about the current and prior round roundEnv)Implements abstract javax. Implements javax. |
| private void | reportUnimplementedDependents(Tuple2<RuleDependency, Element> dependency, EnumSet<Dependents> dependents)
|
| IMPLEMENTED_DEPENDENTS | back to summary |
|---|---|
| private static final Set<Dependents> IMPLEMENTED_DEPENDENTS | |
| RuleDependenciesClassName | back to summary |
|---|---|
| public static final String RuleDependenciesClassName | |
| RuleDependencyClassName | back to summary |
|---|---|
| public static final String RuleDependencyClassName | |
| RuleVersionClassName | back to summary |
|---|---|
| public static final String RuleVersionClassName | |
| RuleDependencyProcessor | back to summary |
|---|---|
| public RuleDependencyProcessor() | |
| checkClassNameConstant | back to summary |
|---|---|
| private boolean checkClassNameConstant(String className, Class<?> clazz) | |
| checkClassNameConstants | back to summary |
|---|---|
| private boolean checkClassNameConstants() | |
| checkDependencies | back to summary |
|---|---|
| private void checkDependencies(List<Tuple2<RuleDependency, Element>> dependencies, TypeMirror recognizerType) | |
| checkDependencyVersion | back to summary |
|---|---|
| private int checkDependencyVersion(Tuple2<RuleDependency, Element> dependency, String[] ruleNames, int[] ruleVersions, int relatedRule, String relation) | |
| extractRuleRelations | back to summary |
|---|---|
| private RuleDependencyProcessor. | |
| findRuleDependencyProperty | back to summary |
|---|---|
private Tuple2
| |
| findRuleDependencyProperty | back to summary |
|---|---|
private AnnotationValue findRuleDependencyProperty(Tuple2<RuleDependency, Element> dependency, AnnotationMirror annotationMirror, RuleDependencyProcessor.
| |
| getDependencies | back to summary |
|---|---|
| public static List | |
| getRecognizerType | back to summary |
|---|---|
| private static TypeMirror getRecognizerType(RuleDependency dependency) | |
| getRuleMethod | back to summary |
|---|---|
| private ExecutableElement getRuleMethod(TypeMirror recognizerClass, String name) | |
| getRuleNames | back to summary |
|---|---|
| private String[] getRuleNames(TypeMirror recognizerClass) | |
| getRuleVersions | back to summary |
|---|---|
| private int[] getRuleVersions(TypeMirror recognizerClass, String[] ruleNames) | |
| getSerializedATN | back to summary |
|---|---|
| private String getSerializedATN(TypeMirror recognizerClass) | |
| getSupportedSourceVersion | back to summary |
|---|---|
| public SourceVersion getSupportedSourceVersion() Overrides javax. Implements javax. Doc from javax. If the processor class is annotated with
| |
| hasRuleVersionAnnotation | back to summary |
|---|---|
| private boolean hasRuleVersionAnnotation(ExecutableElement method) | |
| process | back to summary |
|---|---|
| public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Implements abstract javax. Implements javax. Doc from javax. Processes a set of annotation interfaces on root elements originating
from the prior round and returns whether or not these
annotation interfaces are claimed by this processor. If The input set will be empty if the processor supports
| |
| reportUnimplementedDependents | back to summary |
|---|---|
| private void reportUnimplementedDependents(Tuple2<RuleDependency, Element> dependency, EnumSet<Dependents> dependents) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final RuleDependencyProcessor. | |
| public static final RuleDependencyProcessor. | |
| public static final RuleDependencyProcessor. | |
| public static final RuleDependencyProcessor. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RuleDependencyProcessor. | |
| public static RuleDependencyProcessor. |
| DEPENDENTS | back to summary |
|---|---|
| public static final RuleDependencyProcessor. | |
| RECOGNIZER | back to summary |
|---|---|
| public static final RuleDependencyProcessor. | |
| RULE | back to summary |
|---|---|
| public static final RuleDependencyProcessor. | |
| VERSION | back to summary |
|---|---|
| public static final RuleDependencyProcessor. | |
| RuleDependencyProperty | back to summary |
|---|---|
| private RuleDependencyProperty() | |
| valueOf | back to summary |
|---|---|
| public static RuleDependencyProcessor. | |
| values | back to summary |
|---|---|
| public static RuleDependencyProcessor. | |
| Access | Constructor and Description |
|---|---|
| public |
| children | back to summary |
|---|---|
| private final BitSet[] children | |
| parents | back to summary |
|---|---|
| private final BitSet[] parents | |
| RuleRelations | back to summary |
|---|---|
| public RuleRelations(int ruleCount) | |
| addRuleInvocation | back to summary |
|---|---|
| public boolean addRuleInvocation(int caller, int callee) | |
| getAncestors | back to summary |
|---|---|
| public BitSet getAncestors(int rule) | |
| getDescendants | back to summary |
|---|---|
| public BitSet getDescendants(int rule) | |