Package org.mapstruct.ap.internal.model
Class AnnotatedSetter
java.lang.Object
org.mapstruct.ap.internal.writer.FreeMarkerWritable
org.mapstruct.ap.internal.model.common.ModelElement
org.mapstruct.ap.internal.model.GeneratedTypeMethod
org.mapstruct.ap.internal.model.AnnotatedSetter
- All Implemented Interfaces:
Writable
A method in a generated type that represents a setter with annotations.
- Author:
- Lucas Resch
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context -
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedSetter(Field field, Collection<Annotation> methodAnnotations, Collection<Annotation> parameterAnnotations) -
Method Summary
Methods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
Constructor Details
-
AnnotatedSetter
public AnnotatedSetter(Field field, Collection<Annotation> methodAnnotations, Collection<Annotation> parameterAnnotations)
-
-
Method Details
-
getImportTypes
Description copied from class:ModelElementReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.- Specified by:
getImportTypesin classModelElement- Returns:
- A set with type referenced by this model element. Must not be
null.
-
getType
-
getFieldName
-
getMethodAnnotations
-
getParameterAnnotations
-