Class JCmplExpr

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

public final class JCmplExpr extends AbstractIntBinopExpr
  • 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 JCmplExpr 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 JCmplExpr 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
    • isJCmplExpr

      public boolean isJCmplExpr()
    • asJCmplExpr

      public JCmplExpr asJCmplExpr()
    • toJCmplExpr

      public Optional<JCmplExpr> toJCmplExpr()