|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.rop.cst.Constant
com.android.dx.rop.cst.TypedConstant
com.android.dx.rop.cst.CstMemberRef
public abstract class CstMemberRef
Constants of type CONSTANT_*ref_info.
| Method Summary | |
|---|---|
protected int |
compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
boolean |
equals(Object other)
|
CstType |
getDefiningClass()
Gets the type of the defining class. |
CstNat |
getNat()
Gets the defining name-and-type. |
int |
hashCode()
|
boolean |
isCategory2()
Returns true if this instance is a category-2 constant,
meaning it takes up two slots in the constant pool, or
false if this instance is category-1. |
String |
toHuman()
Return the "human" string form of this instance. |
String |
toString()
|
| Methods inherited from class com.android.dx.rop.cst.TypedConstant |
|---|
getBasicFrameType, getBasicType, getFrameType, isConstant |
| Methods inherited from class com.android.dx.rop.cst.Constant |
|---|
compareTo, typeName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.android.dx.rop.type.TypeBearer |
|---|
getType |
| Method Detail |
|---|
public final boolean equals(Object other)
equals in class Objectpublic final int hashCode()
hashCode in class Objectprotected int compareTo0(Constant other)
Note: This implementation just compares the defining
class and name, and it is up to subclasses to compare the rest
after calling super.compareTo0().
compareTo0 in class Constantother - non-null; the instance to compare to
-1, 0, or 1, as usual
for a comparisonpublic final String toString()
toString in class Objectpublic final boolean isCategory2()
true if this instance is a category-2 constant,
meaning it takes up two slots in the constant pool, or
false if this instance is category-1.
isCategory2 in class Constanttrue iff this instance is category-2public final String toHuman()
toString().
non-null; the human string formpublic final CstType getDefiningClass()
non-null; the type of defining classpublic final CstNat getNat()
non-null; the name-and-type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||