net.sourceforge.pmd.cpd.cppast
Class ClassScope
java.lang.Object
net.sourceforge.pmd.cpd.cppast.Scope
net.sourceforge.pmd.cpd.cppast.ClassScope
- public class ClassScope
- extends Scope
Class scope extends Scope in that its search method also searches all its
superclasses.
Field Summary |
(package private) java.util.Vector |
superClasses
The list of scopes corresponding to classes this class inherits. |
Constructor Summary |
ClassScope(java.lang.String name,
Scope parent)
Creates a new class scope in a given scope. |
Method Summary |
void |
AddSuper(Scope sc)
Add a super class. |
boolean |
IsTypeName(java.lang.String name)
Overrides the method in Scope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
superClasses
java.util.Vector superClasses
- The list of scopes corresponding to classes this class inherits.
ClassScope
public ClassScope(java.lang.String name,
Scope parent)
- Creates a new class scope in a given scope.
AddSuper
public void AddSuper(Scope sc)
- Add a super class.
IsTypeName
public boolean IsTypeName(java.lang.String name)
- Overrides the method in Scope. It also searches in the inherited classes'
scopes also.
- Overrides:
IsTypeName
in class Scope
Copyright © 2002-2005 InfoEther. All Rights Reserved.