checkers.util
Class AggregateChecker
java.lang.Object
   javax.annotation.processing.AbstractProcessor
javax.annotation.processing.AbstractProcessor
       com.sun.source.util.AbstractTypeProcessor
com.sun.source.util.AbstractTypeProcessor
           checkers.util.AggregateChecker
checkers.util.AggregateChecker
- All Implemented Interfaces:
- Processor
- Direct Known Subclasses:
- NullnessChecker
public abstract class AggregateChecker
extends AbstractTypeProcessor
An aggregate checker that packages multiple checkers together.  The
 resulting checker invokes the individual checkers together on the processed
 files.
 This class delegates AbstractTypeProcessor responsibilities to each
 of the checkers.
 Checker writers need to subclass this class and only override
 getSupportedCheckers() to indicate the classes of the checkers
 to be bundled.
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AggregateChecker
public AggregateChecker()
getSupportedCheckers
protected abstract Collection<Class<? extends SourceChecker>> getSupportedCheckers()
- Returns the list of supported checkers to be run together.
 Subclasses need to override this method.
 
typeProcess
public final void typeProcess(TypeElement element,
                              TreePath tree)
- 
- Specified by:
- typeProcessin class- AbstractTypeProcessor
 
typeProcessingOver
public void typeProcessingOver()
- 
- Overrides:
- typeProcessingOverin class- AbstractTypeProcessor
 
init
public final void init(ProcessingEnvironment env)
- 
- Specified by:
- initin interface- Processor
- Overrides:
- initin class- AbstractTypeProcessor
 
getSupportedOptions
public final Set<String> getSupportedOptions()
- 
- Specified by:
- getSupportedOptionsin interface- Processor
- Overrides:
- getSupportedOptionsin class- AbstractProcessor
 
getSupportedAnnotationTypes
public final Set<String> getSupportedAnnotationTypes()
- 
- Specified by:
- getSupportedAnnotationTypesin interface- Processor
- Overrides:
- getSupportedAnnotationTypesin class- AbstractProcessor
 
getSupportedSourceVersion
public final SourceVersion getSupportedSourceVersion()
- 
- Specified by:
- getSupportedSourceVersionin interface- Processor
- Overrides:
- getSupportedSourceVersionin class- AbstractProcessor