@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, isInitializedprotected void incrementCount(Name annoName)
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessor