Class MemberReference

java.lang.Object
com.ibm.wala.types.MemberReference
Direct Known Subclasses:
FieldReference, MethodReference

public abstract class MemberReference extends Object
Abstract superclass of MethodReference and FieldReference
  • Constructor Details

    • MemberReference

      protected MemberReference(TypeReference type, Atom name, int hash)
  • Method Details

    • getName

      public final Atom getName()
      Returns:
      the member name component of this member reference
    • getSignature

      public abstract String getSignature()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object
    • getDeclaringClass

      public TypeReference getDeclaringClass()
      Returns:
      the type that declared this member