public class ASMBlock
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.lang.String,org.objectweb.asm.tree.LabelNode> |
labels |
InsnListSection |
list |
| Constructor and Description |
|---|
ASMBlock() |
ASMBlock(org.objectweb.asm.tree.InsnList list) |
ASMBlock(InsnListSection list) |
ASMBlock(InsnListSection list,
java.util.Map<java.lang.String,org.objectweb.asm.tree.LabelNode> labels) |
| Modifier and Type | Method and Description |
|---|---|
ASMBlock |
applyLabels(InsnListSection list2) |
ASMBlock |
copy() |
org.objectweb.asm.tree.LabelNode |
get(java.lang.String s) |
org.objectweb.asm.tree.LabelNode |
getOrAdd(java.lang.String s) |
ASMBlock |
mergeLabels(ASMBlock other)
Pulls all common labels from other into this
|
ASMBlock |
pullLabels(ASMBlock other)
Like mergeLabels but pulls insns from other list into this so LabelNodes can be transferred
|
org.objectweb.asm.tree.InsnList |
rawListCopy() |
void |
replaceLabel(java.lang.String s,
org.objectweb.asm.tree.LabelNode l) |
void |
replaceLabels(java.util.Map<org.objectweb.asm.tree.LabelNode,org.objectweb.asm.tree.LabelNode> labelMap) |
void |
replaceLabels(java.util.Map<org.objectweb.asm.tree.LabelNode,org.objectweb.asm.tree.LabelNode> labelMap,
java.util.Set<org.objectweb.asm.tree.LabelNode> usedLabels) |
public InsnListSection list
public java.util.Map<java.lang.String,org.objectweb.asm.tree.LabelNode> labels
public ASMBlock(InsnListSection list, java.util.Map<java.lang.String,org.objectweb.asm.tree.LabelNode> labels)
public ASMBlock(InsnListSection list)
public ASMBlock(org.objectweb.asm.tree.InsnList list)
public ASMBlock()
public org.objectweb.asm.tree.LabelNode getOrAdd(java.lang.String s)
public org.objectweb.asm.tree.LabelNode get(java.lang.String s)
public void replaceLabels(java.util.Map<org.objectweb.asm.tree.LabelNode,org.objectweb.asm.tree.LabelNode> labelMap,
java.util.Set<org.objectweb.asm.tree.LabelNode> usedLabels)
public void replaceLabels(java.util.Map<org.objectweb.asm.tree.LabelNode,org.objectweb.asm.tree.LabelNode> labelMap)
public void replaceLabel(java.lang.String s,
org.objectweb.asm.tree.LabelNode l)
public ASMBlock mergeLabels(ASMBlock other)
public ASMBlock pullLabels(ASMBlock other)
public ASMBlock copy()
public ASMBlock applyLabels(InsnListSection list2)
public org.objectweb.asm.tree.InsnList rawListCopy()