Class XmlElementDeclGem
java.lang.Object
org.mapstruct.ap.internal.gem.jakarta.XmlElementDeclGem
- 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, XmlElementDeclGem.Builder<T> builder) static <T> Tbuild(Element element, XmlElementDeclGem.Builder<T> builder) org.mapstruct.tools.gem.GemValue<String> accessorstatic XmlElementDeclGeminstanceOn(AnnotationMirror mirror) static XmlElementDeclGeminstanceOn(Element element) booleanisValid()mirror()org.mapstruct.tools.gem.GemValue<String> name()accessororg.mapstruct.tools.gem.GemValue<String> accessororg.mapstruct.tools.gem.GemValue<TypeMirror> scope()accessororg.mapstruct.tools.gem.GemValue<String> accessororg.mapstruct.tools.gem.GemValue<String> accessor
-
Method Details
-
scope
accessor- Returns:
- the
GemValueforscope
-
namespace
accessor- Returns:
- the
GemValuefornamespace
-
name
accessor- Returns:
- the
GemValueforname
-
substitutionHeadNamespace
accessor- Returns:
- the
GemValueforsubstitutionHeadNamespace
-
substitutionHeadName
accessor- Returns:
- the
GemValueforsubstitutionHeadName
-
defaultValue
accessor- Returns:
- the
GemValuefordefaultValue
-
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
-