1 package org.catacomb.act;
2
3
4 public class MethodStub {
5
6 public String info;
7 public String returnType;
8 public String methodName;
9 public String visibility;
10
11 public String arglist;
12
13
14 public MethodStub() {
15
16 }
17
18
19 public void setInfo(String s) {
20 if (s != null) {
21 info = s;
22 } else {
23 info = "";
24 }
25 }
26
27 public void setVisibility(String s) {
28 if (s != null) {
29 visibility = s;
30 } else {
31 visibility = "public";
32 }
33 }
34
35
36 public void setReturnType(String s) {
37 if (s != null) {
38 returnType = s;
39 } else {
40 returnType = "void";
41 }
42
43 }
44
45 public void setMethodName(String s) {
46 methodName = s;
47 }
48
49 public void setArgList(String s) {
50 arglist = s;
51 }
52
53
54 public String getMethodID() {
55
56 String ret = returnType + ":" + methodName;
57 return ret;
58 }
59
60
61 }