public class InsnComparator
extends java.lang.Object
| Constructor and Description |
|---|
InsnComparator() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
fieldInsnEqual(FieldInsnNode insn1,
FieldInsnNode insn2) |
static java.util.List<InsnListSection> |
find(InsnList haystack,
InsnListSection needle) |
static java.util.List<InsnListSection> |
find(InsnListSection haystack,
InsnListSection needle) |
static java.util.List<InsnListSection> |
findN(InsnList haystack,
InsnListSection needle) |
static java.util.List<InsnListSection> |
findN(InsnListSection haystack,
InsnListSection needle) |
static InsnListSection |
findOnce(InsnList haystack,
InsnListSection needle) |
static InsnListSection |
findOnce(InsnListSection haystack,
InsnListSection needle) |
static java.util.Set<LabelNode> |
getControlFlowLabels(InsnList list) |
static java.util.Set<LabelNode> |
getControlFlowLabels(InsnListSection list) |
static InsnList |
getImportantList(InsnList list) |
static boolean |
iincInsnEqual(IincInsnNode node1,
IincInsnNode node2) |
static boolean |
insnEqual(AbstractInsnNode node1,
AbstractInsnNode node2) |
static boolean |
insnImportant(AbstractInsnNode insn,
java.util.Set<LabelNode> controlFlowLabels) |
static boolean |
intInsnEqual(IntInsnNode node1,
IntInsnNode node2) |
static boolean |
ldcInsnEqual(LdcInsnNode insn1,
LdcInsnNode insn2) |
static InsnListSection |
matches(InsnListSection haystack,
InsnListSection needle,
java.util.Set<LabelNode> controlFlowLabels) |
static boolean |
methodInsnEqual(MethodInsnNode insn1,
MethodInsnNode insn2) |
static boolean |
typeInsnEqual(TypeInsnNode insn1,
TypeInsnNode insn2) |
static boolean |
varInsnEqual(VarInsnNode insn1,
VarInsnNode insn2) |
public static boolean varInsnEqual(VarInsnNode insn1,
VarInsnNode insn2)
public static boolean methodInsnEqual(MethodInsnNode insn1,
MethodInsnNode insn2)
public static boolean fieldInsnEqual(FieldInsnNode insn1,
FieldInsnNode insn2)
public static boolean ldcInsnEqual(LdcInsnNode insn1,
LdcInsnNode insn2)
public static boolean typeInsnEqual(TypeInsnNode insn1,
TypeInsnNode insn2)
public static boolean iincInsnEqual(IincInsnNode node1,
IincInsnNode node2)
public static boolean intInsnEqual(IntInsnNode node1,
IntInsnNode node2)
public static boolean insnEqual(AbstractInsnNode node1,
AbstractInsnNode node2)
public static boolean insnImportant(AbstractInsnNode insn,
java.util.Set<LabelNode> controlFlowLabels)
public static java.util.Set<LabelNode> getControlFlowLabels(InsnListSection list)
public static java.util.Set<LabelNode> getControlFlowLabels(InsnList list)
public static InsnList getImportantList(InsnList list)
public static java.util.List<InsnListSection> find(InsnListSection haystack, InsnListSection needle)
public static java.util.List<InsnListSection> find(InsnList haystack, InsnListSection needle)
public static InsnListSection matches(InsnListSection haystack, InsnListSection needle, java.util.Set<LabelNode> controlFlowLabels)
public static InsnListSection findOnce(InsnListSection haystack, InsnListSection needle)
public static InsnListSection findOnce(InsnList haystack, InsnListSection needle)
public static java.util.List<InsnListSection> findN(InsnListSection haystack, InsnListSection needle)
public static java.util.List<InsnListSection> findN(InsnList haystack, InsnListSection needle)