@SupportedAnnotationTypes(value={"org.antlr.v4.runtime.RuleDependency","org.antlr.v4.runtime.RuleDependencies","org.antlr.v4.runtime.RuleVersion"}) public class RuleDependencyProcessor extends AbstractProcessor
RuleDependency,
RuleDependencies| Modifier and Type | Class and Description |
|---|---|
static class |
RuleDependencyProcessor.RuleDependencyProperty |
| Modifier and Type | Field and Description |
|---|---|
static String |
RuleDependenciesClassName |
static String |
RuleDependencyClassName |
static String |
RuleVersionClassName |
processingEnv| Constructor and Description |
|---|
RuleDependencyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static List<Tuple2<RuleDependency,Element>> |
getDependencies(RoundEnvironment roundEnv) |
SourceVersion |
getSupportedSourceVersion() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitializedpublic static final String RuleDependencyClassName
public static final String RuleDependenciesClassName
public static final String RuleVersionClassName
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic static List<Tuple2<RuleDependency,Element>> getDependencies(RoundEnvironment roundEnv)
Copyright © 1992–2024 Daniel Sun. All rights reserved.