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