org.jboss.aop.pointcut.ast
Class ASTConstructor

java.lang.Object
  extended by org.jboss.aop.pointcut.ast.SimpleNode
      extended by org.jboss.aop.pointcut.ast.ASTConstructor
All Implemented Interfaces:
Node

public class ASTConstructor
extends SimpleNode


Field Summary
 
Fields inherited from class org.jboss.aop.pointcut.ast.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTConstructor(int id)
           
ASTConstructor(PointcutExpressionParser p, int id)
           
 
Method Summary
 ArrayList getAttributes()
           
 String getClassExpr()
           
 ClassExpression getClazz()
           
 IdentifierExpression getConstructorAnnotation()
           
 ArrayList getExceptions()
           
 ArrayList getParameters()
           
 boolean hasAnyZeroOrMoreParameters()
           
 boolean isAnyParameters()
           
 Object jjtAccept(PointcutExpressionParserVisitor visitor, Object data)
          Accept the visitor.
 Object jjtAccept(TypeExpressionParserVisitor visitor, Object data)
          Accept the visitor.
 void jjtAddChild(Node n, int i)
          This method tells the node to add its argument to the node's list of children.
 void setClassExpression(String expression)
           
 void setNewExpression(String expr)
           
 
Methods inherited from class org.jboss.aop.pointcut.ast.SimpleNode
childrenAccept, childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTConstructor

public ASTConstructor(int id)

ASTConstructor

public ASTConstructor(PointcutExpressionParser p,
                      int id)
Method Detail

jjtAccept

public Object jjtAccept(PointcutExpressionParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode

jjtAccept

public Object jjtAccept(TypeExpressionParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode

jjtAddChild

public void jjtAddChild(Node n,
                        int i)
Description copied from interface: Node
This method tells the node to add its argument to the node's list of children.

Specified by:
jjtAddChild in interface Node
Overrides:
jjtAddChild in class SimpleNode

setClassExpression

public void setClassExpression(String expression)

setNewExpression

public void setNewExpression(String expr)

getClassExpr

public String getClassExpr()

getAttributes

public ArrayList getAttributes()

getExceptions

public ArrayList getExceptions()

getParameters

public ArrayList getParameters()

isAnyParameters

public boolean isAnyParameters()

hasAnyZeroOrMoreParameters

public boolean hasAnyZeroOrMoreParameters()

getClazz

public ClassExpression getClazz()

getConstructorAnnotation

public IdentifierExpression getConstructorAnnotation()
Returns:
NULL if a constructor specific annotation was not defined


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.