KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > expression > ast > ASTPointcutReference


1 /* Generated By:JJTree: Do not edit this line. ASTPointcutReference.java */
2
3 package org.codehaus.aspectwerkz.expression.ast;
4
5 public class ASTPointcutReference extends SimpleNode {
6     public String JavaDoc getName() {
7         return name;
8     }
9
10     public void setName(String JavaDoc name) {
11         if (name.endsWith("(")) {
12             // we have a pointcut reference with a signature
13
this.name = name.substring(0, name.length() - 1);
14         } else {
15             this.name = name;
16         }
17     }
18
19     public String JavaDoc name;
20
21     public ASTPointcutReference(int id) {
22         super(id);
23     }
24
25     public ASTPointcutReference(ExpressionParser p, int id) {
26         super(p, id);
27     }
28
29     /**
30      * Accept the visitor. *
31      */

32     public Object JavaDoc jjtAccept(ExpressionParserVisitor visitor, Object JavaDoc data) {
33         return visitor.visit(this, data);
34     }
35 }
Popular Tags