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