01: package dclass;
02:
03: public class Method extends Invokable {
04: public Object type;
05:
06: public Method(Object modifiers, Object type, Object name,
07: Object args, Object body) {
08: this .modifiers = modifiers;
09: this .type = type;
10: this .name = name;
11: this .args = args;
12: this .body = body;
13: }
14:
15: public String toString() {
16: return "{" + this .getClass().getName() + " " + modifiers + " "
17: + type + " " + name + " " + args + " " + body + " "
18: + "}";
19: }
20: }
|