Package org.mapstruct.ap.internal.gem
Class InheritConfigurationGem.BuilderImpl
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.InheritConfigurationGem.BuilderImpl
-
- All Implemented Interfaces:
InheritConfigurationGem.Builder<InheritConfigurationGem>
- Enclosing class:
- InheritConfigurationGem
private static class InheritConfigurationGem.BuilderImpl extends java.lang.Object implements InheritConfigurationGem.Builder<InheritConfigurationGem>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InheritConfigurationGembuild()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> name)Sets theGemValueforInheritConfigurationGem.name
-
-
-
Method Detail
-
setName
public InheritConfigurationGem.Builder setName(org.mapstruct.tools.gem.GemValue<java.lang.String> name)
Description copied from interface:InheritConfigurationGem.BuilderSets theGemValueforInheritConfigurationGem.name- Specified by:
setNamein interfaceInheritConfigurationGem.Builder<InheritConfigurationGem>- Returns:
- the
InheritConfigurationGem.Builderfor this gem, representingInheritConfigurationGem
-
setMirror
public InheritConfigurationGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Description copied from interface:InheritConfigurationGem.BuilderSets the annotation mirror- Specified by:
setMirrorin interfaceInheritConfigurationGem.Builder<InheritConfigurationGem>- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
InheritConfigurationGem.Builderfor this gem, representingInheritConfigurationGem
-
build
public InheritConfigurationGem build()
Description copied from interface:InheritConfigurationGem.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 interfaceInheritConfigurationGem.Builder<InheritConfigurationGem>- Returns:
- the representation of the annotation
-
-