Class XmlElementRefGem
java.lang.Object
org.mapstruct.ap.internal.gem.jakarta.XmlElementRefGem
- All Implemented Interfaces:
org.mapstruct.tools.gem.Gem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA 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
Modifier and TypeMethodDescriptionstatic <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()mirror()org.mapstruct.tools.gem.GemValue<String> name()accessororg.mapstruct.tools.gem.GemValue<String> accessororg.mapstruct.tools.gem.GemValue<Boolean> required()accessororg.mapstruct.tools.gem.GemValue<TypeMirror> type()accessor
-
Method Details
-
type
accessor- Returns:
- the
GemValuefortype
-
namespace
accessor- Returns:
- the
GemValuefornamespace
-
name
accessor- Returns:
- the
GemValueforname
-
required
accessor- Returns:
- the
GemValueforrequired
-
mirror
- Specified by:
mirrorin interfaceorg.mapstruct.tools.gem.Gem
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceorg.mapstruct.tools.gem.Gem
-
instanceOn
-
instanceOn
-
build
-
build
-