Class LogicMatching
java.lang.Object
net.covers1624.coffeegrinder.bytecode.matching.LogicMatching
Created by covers1624 on 21/7/21.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable LogicAndmatchLogicAnd(@Nullable Instruction insn) Matches the given instruction against a Logical and expression.static @Nullable LogicNotmatchLogicNot(@Nullable Instruction insn) Matches the given instruction against a Logical not expression.static @Nullable LogicOrmatchLogicOr(@Nullable Instruction insn) Matches the given instruction against a Logical or expression.
-
Constructor Details
-
LogicMatching
public LogicMatching()
-
-
Method Details
-
matchLogicNot
Matches the given instruction against a Logical not expression.- Parameters:
insn- The Instruction to match.- Returns:
- The
LogicNotornull.
-
matchLogicAnd
Matches the given instruction against a Logical and expression.- Parameters:
insn- The Instruction to match.- Returns:
- The
LogicAndornull.
-
matchLogicOr
Matches the given instruction against a Logical or expression.- Parameters:
insn- The Instruction to match.- Returns:
- The
LogicOrornull.
-