1 4 5 6 7 package com.tc.aspectwerkz.expression.ast; 8 9 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 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 36 public Object jjtAccept(ExpressionParserVisitor visitor, Object data) { 37 return visitor.visit(this, data); 38 } 39 } | Popular Tags |