checkers.util.count
Class AnnotationsCounter
java.lang.Object
   javax.annotation.processing.AbstractProcessor
javax.annotation.processing.AbstractProcessor
       checkers.util.count.AnnotationsCounter
checkers.util.count.AnnotationsCounter
- All Implemented Interfaces:
- Processor
@SupportedAnnotationTypes(value="*")
@SupportedSourceVersion(value=RELEASE_7)
public class AnnotationsCounter
extends AbstractProcessor
A utility class for counting the occurrences of annotations
 
 The class is actually an annotation processor; in order to use it, invoke
 the compiler on the source file(s) for which you wish to count annotations
 locations. You may also wish to use the -proc:only javac option to
 stop compilation after annotation processing.  (But, in general
 -proc:only causes type annotation processors not te be run.)
 
 
 
 
 
 
AnnotationsCounter
public AnnotationsCounter()
incrementCount
protected void incrementCount(Name annoName)
process
public boolean process(Set<? extends TypeElement> annotations,
                       RoundEnvironment roundEnv)
- 
- Specified by:
- processin interface- Processor
- Specified by:
- processin class- AbstractProcessor