Interface Accessor

    • Method Detail

      • getAccessedType

        javax.lang.model.type.TypeMirror getAccessedType()
        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.
        Returns:
        the type that the accessor gives as a return
      • getSimpleName

        java.lang.String getSimpleName()
        Returns:
        the simple name of the accessor
      • getModifiers

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

        javax.lang.model.element.Element getElement()
        Returns:
        the underlying Element, VariableElement or ExecutableElement
      • getAccessorType

        AccessorType getAccessorType()
        Returns:
        type of the accessor