Package org.mapstruct.ap.internal.gem
Class InheritInverseConfigurationGem.BuilderImpl
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.InheritInverseConfigurationGem.BuilderImpl
-
- All Implemented Interfaces:
InheritInverseConfigurationGem.Builder<InheritInverseConfigurationGem>
- Enclosing class:
- InheritInverseConfigurationGem
private static class InheritInverseConfigurationGem.BuilderImpl extends java.lang.Object implements InheritInverseConfigurationGem.Builder<InheritInverseConfigurationGem>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InheritInverseConfigurationGembuild()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> name)Sets theGemValueforInheritInverseConfigurationGem.name
-
-
-
Method Detail
-
setName
public InheritInverseConfigurationGem.Builder setName(org.mapstruct.tools.gem.GemValue<java.lang.String> name)
Description copied from interface:InheritInverseConfigurationGem.BuilderSets theGemValueforInheritInverseConfigurationGem.name- Specified by:
setNamein interfaceInheritInverseConfigurationGem.Builder<InheritInverseConfigurationGem>- Returns:
- the
InheritInverseConfigurationGem.Builderfor this gem, representingInheritInverseConfigurationGem
-
setMirror
public InheritInverseConfigurationGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Description copied from interface:InheritInverseConfigurationGem.BuilderSets the annotation mirror- Specified by:
setMirrorin interfaceInheritInverseConfigurationGem.Builder<InheritInverseConfigurationGem>- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
InheritInverseConfigurationGem.Builderfor this gem, representingInheritInverseConfigurationGem
-
build
public InheritInverseConfigurationGem build()
Description copied from interface:InheritInverseConfigurationGem.BuilderThe build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.- Specified by:
buildin interfaceInheritInverseConfigurationGem.Builder<InheritInverseConfigurationGem>- Returns:
- the representation of the annotation
-
-