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 Summary
Modifier and TypeMethodDescriptionextract(TypeElement model, ProcessingEnvironment env) Extracts a part of the model from the given TypeElement.static voidlog(Messager messager, Diagnostic.Kind kind, TypeElement model, String msg) Utility method for logging during extraction.
-
Method Details
-
extract
Extracts a part of the model from the given TypeElement.- Parameters:
model- the TypeElement representing the model classenv- processing environment for annotation utilities- Returns:
- extracted part
-
log
Utility method for logging during extraction.
-