1 19 20 package soot.toolkits.graph.interaction; 21 22 public class InteractionEvent { 23 24 25 private int type; 26 private Object info; 27 28 public InteractionEvent (int type){ 29 type(type); 30 } 31 32 public InteractionEvent (int type, Object info){ 33 type(type); 34 info(info); 35 } 36 37 private void type(int t){ 38 type = t; 39 } 40 41 private void info(Object i){ 42 info = i; 43 } 44 45 public int type(){ 46 return type; 47 } 48 49 public Object info(){ 50 return info; 51 } 52 } 53 | Popular Tags |