Class XmlElementRefGem
- java.lang.Object
-
- org.mapstruct.ap.internal.gem.jakarta.XmlElementRefGem
-
- All Implemented Interfaces:
org.mapstruct.tools.gem.Gem
public class XmlElementRefGem extends Object implements org.mapstruct.tools.gem.Gem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceXmlElementRefGem.Builder<T>A builder that can be implemented by the user to define custom logic e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Tbuild(AnnotationMirror mirror, XmlElementRefGem.Builder<T> builder)static <T> Tbuild(Element element, XmlElementRefGem.Builder<T> builder)static XmlElementRefGeminstanceOn(AnnotationMirror mirror)static XmlElementRefGeminstanceOn(Element element)booleanisValid()AnnotationMirrormirror()org.mapstruct.tools.gem.GemValue<String>name()accessororg.mapstruct.tools.gem.GemValue<String>namespace()accessororg.mapstruct.tools.gem.GemValue<Boolean>required()accessororg.mapstruct.tools.gem.GemValue<TypeMirror>type()accessor
-
-
-
Method Detail
-
type
public org.mapstruct.tools.gem.GemValue<TypeMirror> type()
accessor- Returns:
- the
GemValuefortype
-
namespace
public org.mapstruct.tools.gem.GemValue<String> namespace()
accessor- Returns:
- the
GemValuefornamespace
-
name
public org.mapstruct.tools.gem.GemValue<String> name()
accessor- Returns:
- the
GemValueforname
-
required
public org.mapstruct.tools.gem.GemValue<Boolean> required()
accessor- Returns:
- the
GemValueforrequired
-
mirror
public 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 XmlElementRefGem instanceOn(Element element)
-
instanceOn
public static XmlElementRefGem instanceOn(AnnotationMirror mirror)
-
build
public static <T> T build(Element element, XmlElementRefGem.Builder<T> builder)
-
build
public static <T> T build(AnnotationMirror mirror, XmlElementRefGem.Builder<T> builder)
-
-