|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.cf.code.ReturnAddress
public final class ReturnAddress
Representation of a subroutine return address. In Java verification, somewhat counterintuitively, the salient bit of information you need to know about a return address is the start address of the subroutine being returned from, not the address being returned to, so that's what instances of this class hang onto.
| Constructor Summary | |
|---|---|
ReturnAddress(int subroutineAddress)
Constructs an instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
int |
getBasicFrameType()
Gets the basic type corresponding to this instance's frame type. |
int |
getBasicType()
Gets the basic type corresponding to this instance. |
TypeBearer |
getFrameType()
Gets the frame type corresponding to this type. |
int |
getSubroutineAddress()
Gets the subroutine address. |
Type |
getType()
Gets the type associated with this instance. |
int |
hashCode()
|
boolean |
isConstant()
Returns whether this instance represents a constant value. |
String |
toHuman()
Return the "human" string form of this instance. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReturnAddress(int subroutineAddress)
subroutineAddress - >= 0; the start address of the
subroutine being returned from| Method Detail |
|---|
public String toString()
toString in class Objectpublic String toHuman()
toString().
toHuman in interface ToHumannon-null; the human string formpublic Type getType()
getType in interface TypeBearernon-null; the typepublic TypeBearer getFrameType()
this, except if Type.isIntlike() on the underlying
type returns true but the underlying type is not in
fact Type.INT, in which case this method returns an instance
whose underlying type is INT.
getFrameType in interface TypeBearernon-null; the frame type for this instancepublic int getBasicType()
getBasicType in interface TypeBearerBT_* constants
defined by Typepublic int getBasicFrameType()
getFrameType().getBasicType(), and
is the same as calling getFrameType() unless this
instance is an int-like type, in which case this method returns
BT_INT.
getBasicFrameType in interface TypeBearerBT_* constants
defined by TypeTypeBearer.getBasicType(),
TypeBearer.getFrameType()public boolean isConstant()
isConstant in interface TypeBearertrue if this instance represents a constant value
and false if notpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int getSubroutineAddress()
>= 0; the subroutine address
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||