All Known Subinterfaces:
GeneratedProperty, MethodSignature

public interface TypeMember
Common interface for variables and methods in class.
  • Method Details

    • getComment

      @Nullable TypeMemberComment getComment()
      Returns comment string associated with member.
      Returns:
      comment string associated with member.
    • getAnnotations

      List<AnnotationType> getAnnotations()
      Returns List of annotation definitions associated with generated type.
      Returns:
      List of annotation definitions associated with generated type.
    • getAccessModifier

      AccessModifier getAccessModifier()
      Returns the access modifier of member.
      Returns:
      the access modifier of member.
    • isStatic

      boolean isStatic()
      Returns true if member is declared as static.
      Returns:
      true if member is declared as static.
    • isFinal

      boolean isFinal()
      Returns true if member is declared as final.
      Returns:
      true if member is declared as final.
    • getReturnType

      Type getReturnType()
      Get the returning Type of member.
      Returns:
      the returning Type of member.
    • getName

      String getName()
      Returns the name of member.
      Returns:
      the name of member.