Class JShlExpr

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

public final class JShlExpr extends AbstractIntLongBinopExpr
An expression that shifts its operand to the left (<<).
  • 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 JShlExpr 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 JShlExpr 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
    • isJShlExpr

      public boolean isJShlExpr()
    • asJShlExpr

      public JShlExpr asJShlExpr()
    • toJShlExpr

      public Optional<JShlExpr> toJShlExpr()