abc.aspectj.ast
Class RTPName_c
java.lang.Object
Node_c
abc.aspectj.ast.RTPName_c
- All Implemented Interfaces:
- RefTypePattern, RTPName, ContainsNamePattern
public class RTPName_c
- extends Node_c
- implements RTPName, ContainsNamePattern
- Author:
- Oege de Moor, Aske Simon Christensen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pat
protected NamePattern pat
RTPName_c
public RTPName_c(Position pos,
NamePattern pat)
reconstruct
protected RTPName_c reconstruct(NamePattern pat)
- Reconstruct the pointcut call.
visitChildren
public Node visitChildren(NodeVisitor v)
- Visit the children of the pointcut call.
prettyPrint
public void prettyPrint(CodeWriter w,
PrettyPrinter tr)
toString
public java.lang.String toString()
getNamePattern
public NamePattern getNamePattern()
- Specified by:
getNamePattern
in interface RTPName
- Specified by:
getNamePattern
in interface ContainsNamePattern
matchesClass
public boolean matchesClass(PatternMatcher matcher,
PCNode cl)
- Specified by:
matchesClass
in interface RefTypePattern
matchesArray
public boolean matchesArray(PatternMatcher matcher)
- Specified by:
matchesArray
in interface RefTypePattern
transformToClassnamePattern
public ClassnamePatternExpr transformToClassnamePattern(AJNodeFactory nf)
throws SemanticException
- Specified by:
transformToClassnamePattern
in interface RefTypePattern
- Throws:
SemanticException
equivalent
public boolean equivalent(RefTypePattern p)
- Specified by:
equivalent
in interface RefTypePattern