Class TMessageAnnotationProcessor<Indicator extends Annotation>
java.lang.Object
javax.annotation.processing.AbstractProcessor
net.rotgruengelb.nixienaut.annotation.processor.TMessageAnnotationProcessor<Indicator>
- All Implemented Interfaces:
Processor
- Direct Known Subclasses:
PlaceholderValueAnnotationProcessor
Template for annotation processors.
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the annotation.elementsAnnotatedWith(RoundEnvironment roundEnv) The elements annotated with the annotation.kind()The kind of the message.The message to be displayed.booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, init, isInitialized
-
Constructor Details
-
TMessageAnnotationProcessor
public TMessageAnnotationProcessor()
-
-
Method Details
-
kind
The kind of the message.- Returns:
- The kind of the message.
-
annotationName
The name of the annotation.- Returns:
- The name of the annotation.
-
message
The message to be displayed.- Parameters:
element- The element for getting the annotation.- Returns:
- The message to be displayed.
-
elementsAnnotatedWith
The elements annotated with the annotation.- Parameters:
roundEnv- The round environment.- Returns:
- Set of elements from roundEnv#getElementsAnnotatedWith.
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-