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