1 /* Generated By:JJTree: Do not edit this line. JavaMethodDeclarator.java */
2
3 package net.sourceforge.jane.jjtree;
4
5 public class JavaMethodDeclarator extends SimpleNode
6 implements JavaParserConstants {
7
8 private String methodName;
9
10 public JavaMethodDeclarator(int id) {
11 super(id);
12 }
13
14 public JavaMethodDeclarator(JavaParser p, int id) {
15 super(p, id);
16 }
17
18 public void jjtOpen() {
19 methodName = JJTreeUtils.findTokenOfKind(parser, IDENTIFIER).image;
20 }
21
22 /*** Accept the visitor. **/
23 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
24 return visitor.visit(this, data);
25 }
26
27 /***
28 * Returns the method name.
29 */
30 public String getMethodName() {
31 return methodName;
32 }
33
34 }
This page was automatically generated by Maven