@SupportedAnnotationTypes(value="*") @SupportedSourceVersion(value=RELEASE_8) public class AnnotationsCounter extends AbstractProcessor
javac -proc:only -processor org.checkerframework.common.util.count.AnnotationsCounter MyFile.java ...
processingEnv
Constructor and Description |
---|
AnnotationsCounter() |
Modifier and Type | Method and Description |
---|---|
protected void |
incrementCount(Name annoName) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
protected void incrementCount(Name annoName)
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor