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