Class ModelTypeProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.fluxzero.common.modeling.ModelTypeProcessor
- All Implemented Interfaces:
Processor
Indexes
@Model declarations independently of serialization aliases or handler registration.
Contributing modules must enable this processor and preserve their Model index when packaged.
In explicit processor lists, run this observer before processors that exclusively claim annotations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringResource containing the binary names of Model declarations in a compiled module.Fields inherited from class AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ProcessingEnvironment processingEnv) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Field Details
-
TYPES_FILE
Resource containing the binary names of Model declarations in a compiled module.- See Also:
-
-
Constructor Details
-
ModelTypeProcessor
public ModelTypeProcessor()
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-