public class LdcMatching
extends java.lang.Object
| Constructor and Description |
|---|
LdcMatching() |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable LdcBoolean |
matchLdcBoolean(@Nullable Instruction insn)
Matches the provided instruction against an
LdcBoolean instruction. |
static @Nullable LdcBoolean |
matchLdcBoolean(@Nullable Instruction insn,
boolean value)
Matches the provided instruction against an
LdcBoolean instruction
with the provided value. |
static @Nullable LdcNumber |
matchLdcInt(@Nullable Instruction insn)
Matches the provided instruction against an
LdcNumber instruction who's type is an integer. |
static @Nullable LdcNumber |
matchLdcInt(@Nullable Instruction insn,
int value)
Matches the provided instruction against an
LdcNumber instruction
with the provided value. |
static @Nullable LdcNumber |
matchLdcNumber(@Nullable Instruction insn) |
static @Nullable Instruction |
matchNegation(@Nullable Instruction insn) |
@Nullable public static @Nullable LdcNumber matchLdcNumber(@Nullable @Nullable Instruction insn)
@Nullable public static @Nullable LdcNumber matchLdcInt(@Nullable @Nullable Instruction insn)
LdcNumber instruction who's type is an integer.insn - The instruction to match.LdcNumber or null.@Nullable public static @Nullable LdcNumber matchLdcInt(@Nullable @Nullable Instruction insn, int value)
LdcNumber instruction
with the provided value.@Nullable public static @Nullable LdcBoolean matchLdcBoolean(@Nullable @Nullable Instruction insn)
LdcBoolean instruction.insn - The instruction to match.LdcBoolean or null.@Nullable public static @Nullable LdcBoolean matchLdcBoolean(@Nullable @Nullable Instruction insn, boolean value)
LdcBoolean instruction
with the provided value.insn - The Instruction to match.value - The value that must be loaded by the LdcBoolean.LdcBoolean or null.@Nullable public static @Nullable Instruction matchNegation(@Nullable @Nullable Instruction insn)