Package org.mapstruct.ap.internal.gem
Class DecoratedWithGem
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.DecoratedWithGem
-
- All Implemented Interfaces:
org.mapstruct.tools.gem.Gem
public class DecoratedWithGem extends java.lang.Object implements org.mapstruct.tools.gem.Gem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDecoratedWithGem.Builder<T>A builder that can be implemented by the user to define custom logic e.g.private static classDecoratedWithGem.BuilderImpl
-
Constructor Summary
Constructors Modifier Constructor Description privateDecoratedWithGem(DecoratedWithGem.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Tbuild(javax.lang.model.element.AnnotationMirror mirror, DecoratedWithGem.Builder<T> builder)static <T> Tbuild(javax.lang.model.element.Element element, DecoratedWithGem.Builder<T> builder)static DecoratedWithGeminstanceOn(javax.lang.model.element.AnnotationMirror mirror)static DecoratedWithGeminstanceOn(javax.lang.model.element.Element element)booleanisValid()javax.lang.model.element.AnnotationMirrormirror()org.mapstruct.tools.gem.GemValue<javax.lang.model.type.TypeMirror>value()accessor
-
-
-
Constructor Detail
-
DecoratedWithGem
private DecoratedWithGem(DecoratedWithGem.BuilderImpl builder)
-
-
Method Detail
-
value
public org.mapstruct.tools.gem.GemValue<javax.lang.model.type.TypeMirror> value()
accessor- Returns:
- the
GemValueforvalue
-
mirror
public javax.lang.model.element.AnnotationMirror mirror()
- Specified by:
mirrorin interfaceorg.mapstruct.tools.gem.Gem
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceorg.mapstruct.tools.gem.Gem
-
instanceOn
public static DecoratedWithGem instanceOn(javax.lang.model.element.Element element)
-
instanceOn
public static DecoratedWithGem instanceOn(javax.lang.model.element.AnnotationMirror mirror)
-
build
public static <T> T build(javax.lang.model.element.Element element, DecoratedWithGem.Builder<T> builder)
-
build
public static <T> T build(javax.lang.model.element.AnnotationMirror mirror, DecoratedWithGem.Builder<T> builder)
-
-