Class DoNothingProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.checkerframework.common.util.debug.DoNothingProcessor
- All Implemented Interfaces:
Processor
This is an annotation processor that does nothing.
Use it when you are required to provide an annotation processor, or when you want to debug compiler behavior with an annotation processor present.
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
DoNothingProcessor
public DoNothingProcessor()Creates a DoNothingProcessor.
-
-
Method Details
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-