Package org.mapstruct.ap.internal.gem
Interface InheritInverseConfigurationGem.Builder<T>
-
- All Known Implementing Classes:
InheritInverseConfigurationGem.BuilderImpl
- Enclosing class:
- InheritInverseConfigurationGem
public static interface InheritInverseConfigurationGem.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.InheritInverseConfigurationGem.BuildersetMirror(javax.lang.model.element.AnnotationMirror mirror)Sets the annotation mirrorInheritInverseConfigurationGem.BuildersetName(org.mapstruct.tools.gem.GemValue<java.lang.String> methodName)Sets theGemValueforInheritInverseConfigurationGem.name
-
-
-
Method Detail
-
setName
InheritInverseConfigurationGem.Builder setName(org.mapstruct.tools.gem.GemValue<java.lang.String> methodName)
Sets theGemValueforInheritInverseConfigurationGem.name- Returns:
- the
InheritInverseConfigurationGem.Builderfor this gem, representingInheritInverseConfigurationGem
-
setMirror
InheritInverseConfigurationGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Sets the annotation mirror- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
InheritInverseConfigurationGem.Builderfor this gem, representingInheritInverseConfigurationGem
-
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
-
-