java.lang.Object
java.lang.Enum<CompOp>
org.benf.cfr.reader.bytecode.analysis.parse.expression.CompOp
All Implemented Interfaces:
Serializable, Comparable<CompOp>, Constable

public enum CompOp extends Enum<CompOp>
  • Enum Constant Details

    • LT

      public static final CompOp LT
    • GT

      public static final CompOp GT
    • LTE

      public static final CompOp LTE
    • GTE

      public static final CompOp GTE
    • EQ

      public static final CompOp EQ
    • NE

      public static final CompOp NE
  • Field Details

    • showAs

      private final String showAs
    • precedence

      private final Precedence precedence
  • Constructor Details

  • Method Details

    • values

      public static CompOp[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CompOp valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getShowAs

      public String getShowAs()
    • getPrecedence

      public Precedence getPrecedence()
    • getInverted

      public CompOp getInverted()
    • getOpFor

      public static CompOp getOpFor(JVMInstr instr)