joeq.Class
Class jq_MemberReference

java.lang.Object
  extended by joeq.Class.jq_MemberReference

public final class jq_MemberReference
extends Object

Objects of this class represent unresolved references to class members.

Version:
$Id: jq_MemberReference.java 1456 2004-03-09 22:01:46Z jwhaley $
Author:
John Whaley

Constructor Summary
jq_MemberReference(jq_Class clazz, jq_NameAndDesc nd)
          Creates new member reference to the named member in the given class.
 
Method Summary
 boolean equals(jq_MemberReference that)
           
 boolean equals(Object o)
           
 Utf8 getDesc()
          Returns the descriptor of the referenced member.
 Utf8 getName()
          Returns the name of the referenced member.
 jq_NameAndDesc getNameAndDesc()
          Returns the name and descriptor of the referenced member.
 jq_Class getReferencedClass()
          Returns the class of the referenced member.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

jq_MemberReference

public jq_MemberReference(jq_Class clazz,
                          jq_NameAndDesc nd)
Creates new member reference to the named member in the given class.

Parameters:
clazz - class of the referenced member
nd - name and descriptor of the referenced member
Method Detail

getReferencedClass

public final jq_Class getReferencedClass()
Returns the class of the referenced member.

Returns:
class of referenced member

getNameAndDesc

public final jq_NameAndDesc getNameAndDesc()
Returns the name and descriptor of the referenced member.

Returns:
name and descriptor of referenced member

getName

public final Utf8 getName()
Returns the name of the referenced member.

Returns:
name of referenced member

getDesc

public final Utf8 getDesc()
Returns the descriptor of the referenced member.

Returns:
descriptor of referenced member

equals

public boolean equals(Object o)
Overrides:
equals in class Object

equals

public boolean equals(jq_MemberReference that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2008 John Whaley. All Rights Reserved.