|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.rop.code.RopMethod
public final class RopMethod
All of the parts that make up a method at the rop layer.
| Constructor Summary | |
|---|---|
RopMethod(BasicBlockList blocks,
int firstLabel)
Constructs an instance. |
|
| Method Summary | |
|---|---|
BasicBlockList |
getBlocks()
Gets the basic block list for this method. |
IntList |
getExitPredecessors()
Gets the exit predecessors for this instance. |
int |
getFirstLabel()
Gets the label for the first block in the method that this list represents. |
IntList |
labelToPredecessors(int label)
Gets the predecessors associated with the given block. |
RopMethod |
withRegisterOffset(int delta)
Returns an instance that is identical to this one, except that the registers in each instruction are offset by the given amount. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RopMethod(BasicBlockList blocks,
int firstLabel)
blocks - non-null; basic block list of the methodfirstLabel - >= 0; the label of the first block to execute| Method Detail |
|---|
public BasicBlockList getBlocks()
non-null; the listpublic int getFirstLabel()
>= 0; the first-block labelpublic IntList labelToPredecessors(int label)
label - >= 0; the label of the block in question
non-null; the predecessors of that blockpublic IntList getExitPredecessors()
non-null; the exit predecessorspublic RopMethod withRegisterOffset(int delta)
delta - the amount to offset register numbers by
non-null; an appropriately-constructed instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||