Class LogicMatching

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

public class LogicMatching extends Object
Created by covers1624 on 21/7/21.
  • Constructor Details

    • LogicMatching

      public LogicMatching()
  • Method Details

    • matchLogicNot

      @Nullable public static @Nullable LogicNot matchLogicNot(@Nullable @Nullable Instruction insn)
      Matches the given instruction against a Logical not expression.
      Parameters:
      insn - The Instruction to match.
      Returns:
      The LogicNot or null.
    • matchLogicAnd

      @Nullable public static @Nullable LogicAnd matchLogicAnd(@Nullable @Nullable Instruction insn)
      Matches the given instruction against a Logical and expression.
      Parameters:
      insn - The Instruction to match.
      Returns:
      The LogicAnd or null.
    • matchLogicOr

      @Nullable public static @Nullable LogicOr matchLogicOr(@Nullable @Nullable Instruction insn)
      Matches the given instruction against a Logical or expression.
      Parameters:
      insn - The Instruction to match.
      Returns:
      The LogicOr or null.