01: /* Generated By:JJTree: Do not edit this line. ASTPointcutReference.java */
02:
03: package org.codehaus.aspectwerkz.expression.ast;
04:
05: public class ASTPointcutReference extends SimpleNode {
06: public String getName() {
07: return name;
08: }
09:
10: public void setName(String 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 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 jjtAccept(ExpressionParserVisitor visitor, Object data) {
33: return visitor.visit(this, data);
34: }
35: }
|