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
  • Method Details

    • type

      public org.mapstruct.tools.gem.GemValue<TypeMirror> type()
      accessor
      Returns:
      the GemValue for type
    • namespace

      public org.mapstruct.tools.gem.GemValue<String> namespace()
      accessor
      Returns:
      the GemValue for namespace
    • name

      public org.mapstruct.tools.gem.GemValue<String> name()
      accessor
      Returns:
      the GemValue for name
    • required

      public org.mapstruct.tools.gem.GemValue<Boolean> required()
      accessor
      Returns:
      the GemValue for required
    • mirror

      public AnnotationMirror mirror()
      Specified by:
      mirror in interface org.mapstruct.tools.gem.Gem
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface org.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)