1 20 21 package soot.dava.internal.javaRep; 22 23 import soot.*; 24 import java.util.*; 25 import soot.grimp.*; 26 import soot.grimp.internal.*; 27 28 public class DStaticInvokeExpr extends GStaticInvokeExpr 29 { 30 public DStaticInvokeExpr( SootMethodRef methodRef, java.util.List args) 31 { 32 super( methodRef, args); 33 } 34 35 public void toString( UnitPrinter up ) { 36 up.type( methodRef.declaringClass().getType() ); 37 up.literal( "." ); 38 super.toString(up); 39 } 40 41 public Object clone() 42 { 43 ArrayList clonedArgs = new ArrayList( getArgCount()); 44 45 for(int i = 0; i < getArgCount(); i++) 46 clonedArgs.add(i, Grimp.cloneIfNecessary(getArg(i))); 47 48 return new DStaticInvokeExpr( methodRef, clonedArgs); 49 } 50 } 51 | Popular Tags |