Interface ModelPartExtractor<T>

Type Parameters:
T - type of the part to extract
All Known Implementing Classes:
EndpointOptionsExtractor, FlagsExtractor, IdentityExtractor, ModelSecurityExtractor

public interface ModelPartExtractor<T>
Interface for extracting parts of a model from a TypeElement.
  • Method Details

    • extract

      T extract(TypeElement model, ProcessingEnvironment env)
      Extracts a part of the model from the given TypeElement.
      Parameters:
      model - the TypeElement representing the model class
      env - processing environment for annotation utilities
      Returns:
      extracted part
    • log

      static void log(Messager messager, Diagnostic.Kind kind, TypeElement model, String msg)
      Utility method for logging during extraction.