@SupportedAnnotationTypes(value="*")
@SupportedSourceVersion(value=RELEASE_8)
public class AnnotationsCounter
extends javax.annotation.processing.AbstractProcessor
javac -proc:only -processor org.checkerframework.common.util.count.AnnotationsCounter MyFile.java ...
| Constructor and Description |
|---|
AnnotationsCounter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
incrementCount(javax.lang.model.element.Name annoName) |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
protected void incrementCount(javax.lang.model.element.Name annoName)
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
process in interface javax.annotation.processing.Processorprocess in class javax.annotation.processing.AbstractProcessor