1 19 20 package soot.jimple.toolkits.annotation.callgraph; 21 22 import soot.*; 23 24 public class MethInfo { 25 private SootMethod method; 26 private boolean canExpandCollapse; 27 private Kind edgeKind; 28 29 public MethInfo(SootMethod meth, boolean b, Kind kind){ 30 method(meth); 31 canExpandCollapse(b); 32 edgeKind(kind); 33 } 34 35 public Kind edgeKind(){ 36 return edgeKind; 37 } 38 39 public void edgeKind(Kind kind){ 40 edgeKind = kind; 41 } 42 43 public boolean canExpandCollapse(){ 44 return canExpandCollapse; 45 } 46 public void canExpandCollapse(boolean b){ 47 canExpandCollapse = b; 48 } 49 public SootMethod method(){ 50 return method; 51 } 52 public void method(SootMethod m){ 53 method = m; 54 } 55 } 56 | Popular Tags |