Package org.mapstruct.ap.internal.gem
Class MappingTargetGem.BuilderImpl
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.MappingTargetGem.BuilderImpl
-
- All Implemented Interfaces:
MappingTargetGem.Builder<MappingTargetGem>
- Enclosing class:
- MappingTargetGem
private static class MappingTargetGem.BuilderImpl extends java.lang.Object implements MappingTargetGem.Builder<MappingTargetGem>
-
-
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 MappingTargetGembuild()The build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.MappingTargetGem.BuildersetMirror(javax.lang.model.element.AnnotationMirror mirror)Sets the annotation mirror
-
-
-
Method Detail
-
setMirror
public MappingTargetGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Description copied from interface:MappingTargetGem.BuilderSets the annotation mirror- Specified by:
setMirrorin interfaceMappingTargetGem.Builder<MappingTargetGem>- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
MappingTargetGem.Builderfor this gem, representingMappingTargetGem
-
build
public MappingTargetGem build()
Description copied from interface:MappingTargetGem.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 interfaceMappingTargetGem.Builder<MappingTargetGem>- Returns:
- the representation of the annotation
-
-