01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04:
05: /* Generated By:JJTree: Do not edit this line. ASTPointcutReference.java */
06:
07: package com.tc.aspectwerkz.expression.ast;
08:
09: public class ASTPointcutReference extends SimpleNode {
10: public String getName() {
11: return name;
12: }
13:
14: public void setName(String name) {
15: if (name.endsWith("(")) {
16: // we have a pointcut reference with a signature
17: this .name = name.substring(0, name.length() - 1);
18: } else {
19: this .name = name;
20: }
21: }
22:
23: public String name;
24:
25: public ASTPointcutReference(int id) {
26: super (id);
27: }
28:
29: public ASTPointcutReference(ExpressionParser p, int id) {
30: super (p, id);
31: }
32:
33: /**
34: * Accept the visitor. *
35: */
36: public Object jjtAccept(ExpressionParserVisitor visitor, Object data) {
37: return visitor.visit(this, data);
38: }
39: }
|