Class DtoOptionsExtractor
java.lang.Object
nl.datasteel.crudcraft.codegen.reader.field.DtoOptionsExtractor
- All Implemented Interfaces:
FieldPartExtractor<DtoOptions>
Singleton extractor for DtoOptions.
This class implements the FieldPartExtractor interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DtoOptionsExtractor
Singleton instance of DtoOptionsExtractor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract
(VariableElement field, ProcessingEnvironment env) Extracts a part of the field from the given VariableElement.
-
Field Details
-
INSTANCE
Singleton instance of DtoOptionsExtractor.
-
-
Constructor Details
-
DtoOptionsExtractor
public DtoOptionsExtractor()
-
-
Method Details
-
extract
Extracts a part of the field from the given VariableElement.- Specified by:
extract
in interfaceFieldPartExtractor<DtoOptions>
- Parameters:
field
- the VariableElement representing the fieldenv
- the ProcessingEnvironment for accessing annotations and other processing features- Returns:
- a DtoOptions object representing the DTO options for the field,
-