public final class BlockNode extends AttrNode implements IBlock, java.lang.Comparable<BlockNode>
| Constructor and Description |
|---|
BlockNode(int cid,
int id,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDominatesOn(BlockNode block) |
java.lang.String |
baseString()
Unique id for use in 'toString()' method
|
int |
compareTo(@NotNull BlockNode o) |
boolean |
equals(java.lang.Object obj) |
int |
getCId() |
java.util.List<BlockNode> |
getCleanSuccessors() |
java.util.BitSet |
getDomFrontier() |
java.util.List<BlockNode> |
getDominatesOn() |
java.util.BitSet |
getDoms()
Dominators of this node (exclude itself)
|
int |
getId() |
BlockNode |
getIDom()
Immediate dominator
|
java.util.List<InsnNode> |
getInstructions() |
java.util.List<BlockNode> |
getPredecessors() |
int |
getStartOffset() |
java.util.List<BlockNode> |
getSuccessors() |
int |
hashCode() |
boolean |
isDominator(BlockNode block)
Check if 'block' dominated on this node
|
boolean |
isEmpty() |
boolean |
isReturnBlock() |
boolean |
isSynthetic() |
void |
lock() |
void |
setDomFrontier(java.util.BitSet domFrontier) |
void |
setDoms(java.util.BitSet doms) |
void |
setIDom(BlockNode idom) |
java.lang.String |
toString() |
void |
updateCleanSuccessors() |
add, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributesclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrompublic int getCId()
public int getId()
public java.util.List<BlockNode> getPredecessors()
public java.util.List<BlockNode> getSuccessors()
public java.util.List<BlockNode> getCleanSuccessors()
public void updateCleanSuccessors()
public void lock()
public java.util.List<InsnNode> getInstructions()
getInstructions in interface IBlockpublic int getStartOffset()
public boolean isDominator(BlockNode block)
public java.util.BitSet getDoms()
public void setDoms(java.util.BitSet doms)
public java.util.BitSet getDomFrontier()
public void setDomFrontier(java.util.BitSet domFrontier)
public BlockNode getIDom()
public void setIDom(BlockNode idom)
public java.util.List<BlockNode> getDominatesOn()
public void addDominatesOn(BlockNode block)
public boolean isSynthetic()
public boolean isReturnBlock()
public boolean isEmpty()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(@NotNull
@NotNull BlockNode o)
compareTo in interface java.lang.Comparable<BlockNode>public java.lang.String baseString()
IContainerbaseString in interface IContainerpublic java.lang.String toString()
toString in class java.lang.Object