1 19 20 25 26 27 28 29 30 31 package soot.jimple.internal; 32 33 import soot.*; 34 import soot.jimple.*; 35 import soot.baf.*; 36 import soot.jimple.*; 37 import soot.util.*; 38 import java.util.*; 39 40 public class JShlExpr extends AbstractJimpleIntLongBinopExpr implements ShlExpr 41 { 42 public JShlExpr(Value op1, Value op2) { super(op1, op2); } 43 public String getSymbol() { return " << "; } 44 public void apply(Switch sw) { ((ExprSwitch) sw).caseShlExpr(this); } 45 46 Object makeBafInst(Type opType) { return Baf.v().newShlInst(this.getOp1().getType()); } 47 48 49 public Object clone() 50 { 51 return new JShlExpr(Jimple.cloneIfNecessary(getOp1()), Jimple.cloneIfNecessary(getOp2())); 52 } 53 } 54 | Popular Tags |