Class BlockMatching

java.lang.Object
net.covers1624.coffeegrinder.bytecode.matching.BlockMatching

public class BlockMatching extends Object
Created by covers1624 on 9/9/21.
  • Constructor Details

    • BlockMatching

      public BlockMatching()
  • Method Details

    • getBlockOnlyChild

      @Nullable public static @Nullable Instruction getBlockOnlyChild(@Nullable @Nullable Instruction insn)
      Matches the provided instruction against a Block which has a single child.
      Parameters:
      insn - The Instruction to match.
      Returns:
      The single child instruction of the matched Block or null.