1 22 23 package org.jboss.aop.pointcut.ast; 24 25 public class ASTException extends SimpleNode { 26 String typeExpr; 27 ClassExpression type; 28 public ASTException(int id) { 29 super(id); 30 } 31 32 public ASTException(PointcutExpressionParser p, int id) { 33 super(p, id); 34 } 35 36 37 38 public Object jjtAccept(PointcutExpressionParserVisitor visitor, Object data){ 39 return visitor.visit(this, data); 40 } 41 42 public void setTypeExpression(String expression) 43 { 44 typeExpr = expression; 45 type = new ClassExpression(expression); 46 } 47 48 public String getTypeExpression() 49 { 50 return typeExpr; 51 } 52 53 public ClassExpression getType() 54 { 55 return type; 56 } 57 58 public String toString() 59 { 60 return typeExpr; 61 } 62 } 63 | Popular Tags |