org.jboss.aop.pointcut.ast
Class ASTConstructor
java.lang.Object
org.jboss.aop.pointcut.ast.SimpleNode
org.jboss.aop.pointcut.ast.ASTConstructor
- All Implemented Interfaces:
- Node
public class ASTConstructor
- extends SimpleNode
Methods inherited from class org.jboss.aop.pointcut.ast.SimpleNode |
childrenAccept, childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
ASTConstructor
public ASTConstructor(int id)
ASTConstructor
public ASTConstructor(PointcutExpressionParser p,
int id)
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.