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