Class AnnotationModelReader

java.lang.Object
nl.datasteel.crudcraft.codegen.reader.AnnotationModelReader

public class AnnotationModelReader extends Object
Reads an entity's annotations and builds a ModelDescriptor using part extractors.
  • Method Details

    • parse

      public static ModelDescriptor parse(Element element, ProcessingEnvironment env)
      Parses the given element to create a ModelDescriptor.
      Parameters:
      element - the element representing the model class
      env - the processing environment for annotation utilities
      Returns:
      a ModelDescriptor containing the extracted parts of the model