Package org.mapstruct.ap.internal.gem
Class DecoratedWithGem.BuilderImpl
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.DecoratedWithGem.BuilderImpl
-
- All Implemented Interfaces:
DecoratedWithGem.Builder<DecoratedWithGem>
- Enclosing class:
- DecoratedWithGem
private static class DecoratedWithGem.BuilderImpl extends java.lang.Object implements DecoratedWithGem.Builder<DecoratedWithGem>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoratedWithGembuild()The build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.DecoratedWithGem.BuildersetMirror(javax.lang.model.element.AnnotationMirror mirror)Sets the annotation mirrorDecoratedWithGem.BuildersetValue(org.mapstruct.tools.gem.GemValue<javax.lang.model.type.TypeMirror> value)Sets theGemValueforDecoratedWithGem.value
-
-
-
Method Detail
-
setValue
public DecoratedWithGem.Builder setValue(org.mapstruct.tools.gem.GemValue<javax.lang.model.type.TypeMirror> value)
Description copied from interface:DecoratedWithGem.BuilderSets theGemValueforDecoratedWithGem.value- Specified by:
setValuein interfaceDecoratedWithGem.Builder<DecoratedWithGem>- Returns:
- the
DecoratedWithGem.Builderfor this gem, representingDecoratedWithGem
-
setMirror
public DecoratedWithGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Description copied from interface:DecoratedWithGem.BuilderSets the annotation mirror- Specified by:
setMirrorin interfaceDecoratedWithGem.Builder<DecoratedWithGem>- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
DecoratedWithGem.Builderfor this gem, representingDecoratedWithGem
-
build
public DecoratedWithGem build()
Description copied from interface:DecoratedWithGem.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 interfaceDecoratedWithGem.Builder<DecoratedWithGem>- Returns:
- the representation of the annotation
-
-