Class DelegateAccessor

    • Field Detail

      • delegate

        protected final Accessor delegate
    • Constructor Detail

      • DelegateAccessor

        protected DelegateAccessor​(Accessor delegate)
    • Method Detail

      • getAccessedType

        public javax.lang.model.type.TypeMirror getAccessedType()
        Description copied from interface: Accessor
        This returns the type that this accessor gives as a return. e.g. The ExecutableElement.getReturnType() if this is a method accessor, or Element.asType() for field accessors.
        Specified by:
        getAccessedType in interface Accessor
        Returns:
        the type that the accessor gives as a return
      • getSimpleName

        public java.lang.String getSimpleName()
        Specified by:
        getSimpleName in interface Accessor
        Returns:
        the simple name of the accessor
      • getModifiers

        public java.util.Set<javax.lang.model.element.Modifier> getModifiers()
        Specified by:
        getModifiers in interface Accessor
        Returns:
        the set of modifiers that the accessor has
      • getElement

        public javax.lang.model.element.Element getElement()
        Specified by:
        getElement in interface Accessor
        Returns:
        the underlying Element, VariableElement or ExecutableElement