Class JGtExpr

All Implemented Interfaces:
EquivTo, Expr, Value, JimpleIR, Acceptor<ExprVisitor>

public final class JGtExpr extends AbstractConditionExpr
An expression that checks whether operand 1 > operand 2.
  • Constructor Details

  • Method Details

    • getSymbol

      public @NonNull String getSymbol()
      Description copied from class: AbstractBinopExpr
      Returns the unique symbol for an operator.
      Specified by:
      getSymbol in class AbstractBinopExpr
      Returns:
      the operator symbol string (e.g., "+", "-")
    • accept

      public <V extends ExprVisitor> V accept(@NonNull V v)
      Description copied from interface: Acceptor
      Called when this object is visited.
      Type Parameters:
      V - the concrete visitor type
      Parameters:
      v - the visitor processing this object
      Returns:
      the visitor after processing
    • withOp1

      public @NonNull JGtExpr withOp1(@NonNull Immediate op1)
      Description copied from class: AbstractBinopExpr
      Returns a copy of this expression with the left operand replaced.
      Specified by:
      withOp1 in class AbstractBinopExpr
    • withOp2

      public @NonNull JGtExpr withOp2(@NonNull Immediate op2)
      Description copied from class: AbstractBinopExpr
      Returns a copy of this expression with the right operand replaced.
      Specified by:
      withOp2 in class AbstractBinopExpr
    • isJGtExpr

      public boolean isJGtExpr()
    • asJGtExpr

      public JGtExpr asJGtExpr()
    • toJGtExpr

      public Optional<JGtExpr> toJGtExpr()