Package online.sharedtype.processor
Class SharedTypeAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
online.sharedtype.processor.SharedTypeAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("online.sharedtype.SharedType")
@SupportedOptions({"sharedtype.propsFile","sharedtype.enabled"})
@AutoService(javax.annotation.processing.Processor.class)
public final class SharedTypeAnnotationProcessor
extends AbstractProcessor
- Author:
- Cause Chung
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ProcessingEnvironment processingEnv) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
SharedTypeAnnotationProcessor
public SharedTypeAnnotationProcessor()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-