Package org.mapstruct.ap.internal.gem
Interface ConditionGem.Builder<T>
-
- All Known Implementing Classes:
ConditionGem.BuilderImpl
- Enclosing class:
- ConditionGem
public static interface ConditionGem.Builder<T>A builder that can be implemented by the user to define custom logic e.g. in the build method, prior to creating the annotation gem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tbuild()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
ConditionGem.Builder setMirror(javax.lang.model.element.AnnotationMirror mirror)
Sets the annotation mirror- Parameters:
mirror- the mirror which this gem represents- Returns:
- the
ConditionGem.Builderfor this gem, representingConditionGem
-
build
T build()
The build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.- Returns:
- the representation of the annotation
-
-