Package org.mapstruct.ap.internal.gem
Interface InheritConfigurationGem.Builder<T>
-
- All Known Implementing Classes:
InheritConfigurationGem.BuilderImpl
- Enclosing class:
- InheritConfigurationGem
public static interface InheritConfigurationGem.Builder<T>A builder that can be implemented by the user to define custom logic e.g. in the build method, prior to creating the annotation gem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tbuild()The build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.InheritConfigurationGem.BuildersetMirror(javax.lang.model.element.AnnotationMirror mirror)Sets the annotation mirrorInheritConfigurationGem.BuildersetName(org.mapstruct.tools.gem.GemValue<java.lang.String> methodName)Sets theGemValueforInheritConfigurationGem.name
-
-
-
Method Detail
-
setName
InheritConfigurationGem.Builder setName(org.mapstruct.tools.gem.GemValue<java.lang.String> methodName)
Sets theGemValueforInheritConfigurationGem.name- Returns:
- the
InheritConfigurationGem.Builderfor this gem, representingInheritConfigurationGem
-
setMirror
InheritConfigurationGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Sets the annotation mirror- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
InheritConfigurationGem.Builderfor this gem, representingInheritConfigurationGem
-
build
T build()
The build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.- Returns:
- the representation of the annotation
-
-