1 19 20 25 26 27 package soot; 28 29 30 import soot.tagkit.*; 31 import soot.util.*; 32 import java.util.*; 33 import java.io.*; 34 35 40 public interface Unit extends Switchable, Host, Serializable, Context 41 { 42 43 public List getUseBoxes(); 44 45 46 public List getDefBoxes(); 47 48 50 public List getUnitBoxes(); 51 52 53 public List getBoxesPointingToThis(); 54 55 public void addBoxPointingToThis( UnitBox b ); 56 57 public void removeBoxPointingToThis( UnitBox b ); 58 59 public void clearUnitBoxes(); 60 61 63 public List getUseAndDefBoxes(); 64 65 public Object clone(); 66 67 69 public boolean fallsThrough(); 70 71 public boolean branches(); 72 73 public void toString(UnitPrinter up); 74 75 83 public void redirectJumpsToThisTo(Unit newLocation); 84 } 85 | Popular Tags |