KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > aspectwerkz > expression > ast > ASTPointcutReference


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4
5 /* Generated By:JJTree: Do not edit this line. ASTPointcutReference.java */
6
7 package com.tc.aspectwerkz.expression.ast;
8
9 public class ASTPointcutReference extends SimpleNode {
10   public String JavaDoc getName() {
11     return name;
12   }
13
14   public void setName(String JavaDoc 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 JavaDoc 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 JavaDoc jjtAccept(ExpressionParserVisitor visitor, Object JavaDoc data) {
37     return visitor.visit(this, data);
38   }
39 }
Popular Tags