Package org.mapstruct.ap.internal.gem
Class BeforeMappingGem
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.BeforeMappingGem
-
- All Implemented Interfaces:
org.mapstruct.tools.gem.Gem
public class BeforeMappingGem extends java.lang.Object implements org.mapstruct.tools.gem.Gem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBeforeMappingGem.Builder<T>A builder that can be implemented by the user to define custom logic e.g.private static classBeforeMappingGem.BuilderImpl
-
Constructor Summary
Constructors Modifier Constructor Description privateBeforeMappingGem(BeforeMappingGem.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, BeforeMappingGem.Builder<T> builder)static <T> Tbuild(javax.lang.model.element.Element element, BeforeMappingGem.Builder<T> builder)static BeforeMappingGeminstanceOn(javax.lang.model.element.AnnotationMirror mirror)static BeforeMappingGeminstanceOn(javax.lang.model.element.Element element)booleanisValid()javax.lang.model.element.AnnotationMirrormirror()
-
-
-
Constructor Detail
-
BeforeMappingGem
private BeforeMappingGem(BeforeMappingGem.BuilderImpl builder)
-
-
Method Detail
-
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 BeforeMappingGem instanceOn(javax.lang.model.element.Element element)
-
instanceOn
public static BeforeMappingGem instanceOn(javax.lang.model.element.AnnotationMirror mirror)
-
build
public static <T> T build(javax.lang.model.element.Element element, BeforeMappingGem.Builder<T> builder)
-
build
public static <T> T build(javax.lang.model.element.AnnotationMirror mirror, BeforeMappingGem.Builder<T> builder)
-
-