abc.aspectj.visit
Class PCNode
java.lang.Object
abc.aspectj.visit.PCNode
public class PCNode
- extends java.lang.Object
A node in the internal representation of the hierarchy and
package structure used by the pattern matcher.
Such a node represents one package, subpackage, class or interface.
- Author:
- Aske Simon Christensen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PCNode
public PCNode(java.lang.String name,
PCNode outer,
PCStructure root)
addParent
public void addParent(PCNode parent)
isClass
public boolean isClass()
isWeavable
public boolean isWeavable()
updateWeavable
public PCNode updateWeavable(boolean weavable)
getInners
public java.util.Set getInners()
getParents
public java.util.Set getParents()
getChildren
public java.util.Set getChildren()
getRoot
public PCStructure getRoot()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
matchScope
public java.util.Set matchScope(java.util.regex.Pattern simple_name_pattern,
java.util.Set classes,
java.util.Set packages)
matchClass
public java.util.Set matchClass(java.util.regex.Pattern simple_name_pattern)
matchSpecific
public java.util.Set matchSpecific(java.util.regex.Pattern simple_name_pattern)