public class BlockMatching
extends java.lang.Object
| Constructor and Description |
|---|
BlockMatching() |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable Instruction |
getBlockOnlyChild(@Nullable Instruction insn)
Matches the provided instruction against a
Block which has a single
child. |
static @Nullable Block |
matchBlock(@Nullable Instruction insn)
Matches the provided Instruction against a
Block instruction. |
@Nullable public static @Nullable Block matchBlock(@Nullable @Nullable Instruction insn)
Block instruction.insn - The Instruction to match.Block or null.@Nullable public static @Nullable Instruction getBlockOnlyChild(@Nullable @Nullable Instruction insn)
Block which has a single
child.insn - The Instruction to match.Block or null.