Class BlockMatching
java.lang.Object
net.covers1624.coffeegrinder.bytecode.matching.BlockMatching
Created by covers1624 on 9/9/21.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable InstructiongetBlockOnlyChild(@Nullable Instruction insn) Matches the provided instruction against aBlockwhich has a single child.
-
Constructor Details
-
BlockMatching
public BlockMatching()
-
-
Method Details
-
getBlockOnlyChild
@Nullable public static @Nullable Instruction getBlockOnlyChild(@Nullable @Nullable Instruction insn) Matches the provided instruction against aBlockwhich has a single child.- Parameters:
insn- The Instruction to match.- Returns:
- The single child instruction of the matched
Blockornull.
-