1
2
3 package org.codehaus.aspectwerkz.expression.ast;
4
5 public class ASTPointcutReference extends SimpleNode {
6 public String getName() {
7 return name;
8 }
9
10 public void setName(String name) {
11 if (name.endsWith("(")) {
12
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 /*** Accept the visitor. * */
30 public Object jjtAccept(ExpressionParserVisitor visitor, Object data) {
31 return visitor.visit(this, data);
32 }
33 }