Class RawMember

java.lang.Object
com.fasterxml.classmate.members.RawMember
Direct Known Subclasses:
RawConstructor, RawField, RawMethod

public abstract class RawMember extends Object
Base class for all "raw" member (field, method, constructor) types; raw means that actual types are not yet resolved, but relationship to declaring type is retained for eventual resolution. Instances are typically created by ResolvedType when requested, and form the input to eventual full flattening of type members.
  • Field Details

    • _declaringType

      protected final ResolvedType _declaringType
      ResolvedType (class with generic type parameters) that declared this member
  • Constructor Details

  • Method Details

    • getDeclaringType

      public final ResolvedType getDeclaringType()
    • getRawMember

      public abstract Member getRawMember()
    • getName

      public String getName()
    • isStatic

      public boolean isStatic()
    • isFinal

      public boolean isFinal()
    • isPrivate

      public boolean isPrivate()
    • isProtected

      public boolean isProtected()
    • isPublic

      public boolean isPublic()
    • getAnnotations

      public Annotation[] getAnnotations()
    • equals

      public abstract boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getModifiers

      protected final int getModifiers()