Class TypeProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
ru.objectsfill.annotation_processor.TypeProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("ru.objectsfill.annotations.*")
@SupportedSourceVersion(RELEASE_17)
@AutoService(javax.annotation.processing.Processor.class)
public class TypeProcessor
extends AbstractProcessor
generate class from template
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Processes the annotations and generates template classes.Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
Constructor Details
-
TypeProcessor
public TypeProcessor()
-
-
Method Details
-
process
Processes the annotations and generates template classes.- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor- Parameters:
annotations- the set of annotations being processedroundEnv- the round environment- Returns:
- true to indicate that the annotations have been processed
-