public class InsnRemover
extends java.lang.Object
| Constructor and Description |
|---|
InsnRemover(MethodNode mth) |
InsnRemover(MethodNode mth,
BlockNode block) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAndUnbind(InsnNode insn) |
void |
addWithoutUnbind(InsnNode insn) |
void |
perform() |
static void |
remove(MethodNode mth,
BlockNode block,
InsnNode insn) |
static void |
remove(MethodNode mth,
BlockNode block,
int index) |
static void |
remove(MethodNode mth,
InsnNode insn) |
static void |
removeAllAndUnbind(MethodNode mth,
BlockNode block,
java.util.List<InsnNode> insns) |
static void |
removeAllAndUnbind(MethodNode mth,
IContainer container,
java.util.List<InsnNode> insns) |
static void |
removeAllAndUnbind(MethodNode mth,
java.util.List<InsnNode> insns) |
static void |
removeAllMarked(MethodNode mth) |
static void |
removeAllWithoutUnbind(BlockNode block,
java.util.List<InsnNode> insns) |
static boolean |
removeWithoutUnbind(MethodNode mth,
BlockNode block,
InsnNode insn) |
void |
setBlock(BlockNode block) |
static void |
unbindAllArgs(@Nullable MethodNode mth,
InsnNode insn) |
static void |
unbindArgUsage(@Nullable MethodNode mth,
InsnArg arg) |
static void |
unbindInsn(@Nullable MethodNode mth,
InsnNode insn) |
static void |
unbindInsns(@Nullable MethodNode mth,
java.util.List<InsnNode> insns) |
static void |
unbindResult(@Nullable MethodNode mth,
InsnNode insn) |
public InsnRemover(MethodNode mth)
public InsnRemover(MethodNode mth, BlockNode block)
public void setBlock(BlockNode block)
public void addAndUnbind(InsnNode insn)
public void addWithoutUnbind(InsnNode insn)
public void perform()
public static void unbindInsn(@Nullable
@Nullable MethodNode mth,
InsnNode insn)
public static void unbindInsns(@Nullable
@Nullable MethodNode mth,
java.util.List<InsnNode> insns)
public static void unbindAllArgs(@Nullable
@Nullable MethodNode mth,
InsnNode insn)
public static void unbindResult(@Nullable
@Nullable MethodNode mth,
InsnNode insn)
public static void unbindArgUsage(@Nullable
@Nullable MethodNode mth,
InsnArg arg)
public static void remove(MethodNode mth, InsnNode insn)
public static void remove(MethodNode mth, BlockNode block, InsnNode insn)
public static boolean removeWithoutUnbind(MethodNode mth, BlockNode block, InsnNode insn)
public static void removeAllAndUnbind(MethodNode mth, BlockNode block, java.util.List<InsnNode> insns)
public static void removeAllAndUnbind(MethodNode mth, IContainer container, java.util.List<InsnNode> insns)
public static void removeAllAndUnbind(MethodNode mth, java.util.List<InsnNode> insns)
public static void removeAllWithoutUnbind(BlockNode block, java.util.List<InsnNode> insns)
public static void removeAllMarked(MethodNode mth)
public static void remove(MethodNode mth, BlockNode block, int index)