Class AnnotationModelReader
java.lang.Object
nl.datasteel.crudcraft.codegen.reader.AnnotationModelReader
Reads an entity's annotations and builds a
ModelDescriptor
using part extractors.-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelDescriptor
parse
(Element element, ProcessingEnvironment env) Parses the given element to create aModelDescriptor
.
-
Method Details
-
parse
Parses the given element to create aModelDescriptor
.- Parameters:
element
- the element representing the model classenv
- the processing environment for annotation utilities- Returns:
- a ModelDescriptor containing the extracted parts of the model
-