1 19 20 package soot.toolkits.graph.interaction; 21 22 public class FlowInfo { 23 24 private Object info; 25 private Object unit; 26 private boolean before; 27 28 public FlowInfo(Object info, Object unit, boolean b){ 29 info(info); 30 unit(unit); 31 setBefore(b); 32 } 33 34 public Object unit(){ 35 return unit; 36 } 37 38 public void unit(Object u){ 39 unit = u; 40 } 41 42 public Object info(){ 43 return info; 44 } 45 46 public void info(Object i){ 47 info = i; 48 } 49 50 public boolean isBefore(){ 51 return before; 52 } 53 54 public void setBefore(boolean b){ 55 before = b; 56 } 57 58 public String toString(){ 59 StringBuffer sb = new StringBuffer (); 60 sb.append("unit: "+unit); 61 sb.append(" info: "+info); 62 sb.append(" before: "+before); 63 return sb.toString(); 64 } 65 } 66 | Popular Tags |