public class AnnotationsCounter extends AbstractProcessor
javac -proc:only -processor checkers.util.count.AnnotationsCounter MyFile.java ...
processingEnv| Constructor and Description |
|---|
AnnotationsCounter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
incrementCount(@Nullable Name annoName) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized, toStringpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessor