abc.aspectj.ast
Class RTPSubName_c
java.lang.Object
Node_c
abc.aspectj.ast.RTPSubName_c
- All Implemented Interfaces:
- RefTypePattern, RTPSubName, ContainsNamePattern
public class RTPSubName_c
- extends Node_c
- implements RTPSubName, ContainsNamePattern
A reference type pattern that matches all subclasses (..)+
- 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
RTPSubName_c
public RTPSubName_c(Position pos,
NamePattern pat)
reconstruct
protected RTPSubName_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 RTPSubName
- 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