Class JUshrExpr

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

public final class JUshrExpr extends AbstractIntLongBinopExpr
Similar to JShrExpr, but shifts zero into the leftmost position.
  • 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
    • getType

      public @NonNull Type getType()
      Description copied from interface: Value
      Returns the Soot type of this Value.
      Specified by:
      getType in interface Value
      Overrides:
      getType in class AbstractIntLongBinopExpr
      Returns:
      the type of this value
    • withOp1

      public @NonNull JUshrExpr 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 JUshrExpr 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
    • isJUshrExpr

      public boolean isJUshrExpr()
    • asJUshrExpr

      public JUshrExpr asJUshrExpr()
    • toJUshrExpr

      public Optional<JUshrExpr> toJUshrExpr()