Class TryCatchMatching

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

public class TryCatchMatching extends Object
Created by covers1624 on 20/6/21.
  • Constructor Details

    • TryCatchMatching

      public TryCatchMatching()
  • Method Details

    • matchTryCatch

      @Nullable public static @Nullable TryCatch matchTryCatch(@Nullable @Nullable Instruction insn)
      Matches a single TryCatch instruction.
      Parameters:
      insn - The instruction to match.
      Returns:
      The TryCatch instruction or null.
    • matchTryFinally

      @Nullable public static @Nullable TryFinally matchTryFinally(@Nullable @Nullable Instruction insn)
      Matches a single TryFinally instruction.
      Parameters:
      insn - The instruction to match.
      Returns:
      The TryFinally instruction or null.
    • matchThrow

      @Nullable public static @Nullable Throw matchThrow(@Nullable @Nullable Instruction insn)
      Matches a single Throw instruction.
      Parameters:
      insn - The instruction to match.
      Returns:
      The Throw instruction or null.