public final class DexCFG.BasicBlock extends com.ibm.wala.util.graph.impl.NodeWithNumber implements com.ibm.wala.cfg.IBasicBlock<Instruction>
| Constructor and Description |
|---|
BasicBlock(int startIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExceptionalEdges(Instruction last)
Add any exceptional edges generated by the last instruction in a basic block.
|
boolean |
equals(java.lang.Object o) |
int |
getFirstInstructionIndex() |
java.util.Collection<com.ibm.wala.types.TypeReference> |
getImplicitExceptionTypes(Instruction pei) |
int |
getLastInstructionIndex() |
com.ibm.wala.classLoader.IMethod |
getMethod() |
int |
getNumber() |
int |
hashCode() |
boolean |
isCatchBlock() |
boolean |
isEntryBlock() |
boolean |
isExitBlock() |
java.util.Iterator<Instruction> |
iterator() |
java.lang.String |
toString() |
getGraphNodeId, setGraphNodeIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic boolean isCatchBlock()
isCatchBlock in interface com.ibm.wala.cfg.IBasicBlock<Instruction>protected void addExceptionalEdges(Instruction last)
last - the last instruction in a basic block.public java.util.Collection<com.ibm.wala.types.TypeReference> getImplicitExceptionTypes(Instruction pei)
pei - a potentially-excepting instructionNotes
java.lang.IllegalArgumentException - if pei is nullpublic int getLastInstructionIndex()
getLastInstructionIndex in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public int getFirstInstructionIndex()
getFirstInstructionIndex in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isExitBlock()
isExitBlock in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public boolean isEntryBlock()
isEntryBlock in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public com.ibm.wala.classLoader.IMethod getMethod()
getMethod in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int getNumber()
getNumber in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public java.util.Iterator<Instruction> iterator()
iterator in interface java.lang.Iterable<Instruction>