| java.lang.Object net.sf.javaguard.TreeItem net.sf.javaguard.PkCl
All known Subclasses: net.sf.javaguard.Cl, net.sf.javaguard.Pk,
Field Summary | |
protected Map | cls Stores a list of subclasses. |
Constructor Summary | |
public | PkCl(TreeItem parent, String name) Constructor that initializes the tree item. |
Method Summary | |
protected void | addAllClasses(Vector allClasses) List classes and recursively compose a list of all inner classes. | abstract public Cl | addClass(String name, String superName, String[] interfaceNames) Add a class to the list of owned classes. | protected Cl | addClass(String name, boolean isInnerClass, String superName, String[] interfaceNames) Add a class to the list of owned classes. | abstract public Cl | addPlaceholderClass(String name) Add a placeholder class to our list of owned classes that will be replaced
later by the full class. | protected Cl | addPlaceholderClass(String name, boolean isInnerClass) Add a placeholder class to our list of owned classes that will be replaced
later by the full class. | public void | generateNames() Generate unique obfuscated names for this namespace. | protected void | generateNames(Map map) Generate unique obfuscated names for a given namespace. | public Iterator | getAllClassIterator() Get an iteration of all classes (both outer and inner) in the tree
beneath this tree item. | public Cl | getClass(String name) Get a class by name. | public int | getClassCount() Return the number of classes beneath the current tree item. | public Iterator | getClassIterator() Get an iteration for all classes directly beneath this tree item. |
cls | protected Map cls(Code) | | Stores a list of subclasses.
|
PkCl | public PkCl(TreeItem parent, String name)(Code) | | Constructor that initializes the tree item.
Parameters: parent - the tree parent for the current element Parameters: name - the name of the current element |
addAllClasses | protected void addAllClasses(Vector allClasses)(Code) | | List classes and recursively compose a list of all inner classes.
Parameters: allClasses - a vector that will hold all subclasses of the currenttree item |
addClass | abstract public Cl addClass(String name, String superName, String[] interfaceNames)(Code) | | Add a class to the list of owned classes.
Parameters: name - the name of the class Parameters: superName - the name of the super class Parameters: interfaceNames - array with implemented interfaces |
addClass | protected Cl addClass(String name, boolean isInnerClass, String superName, String[] interfaceNames)(Code) | | Add a class to the list of owned classes.
Parameters: name - the name of the class Parameters: isInnerClass - true if the class specifies an inner class; false else Parameters: superName - the name of the super class Parameters: interfaceNames - array with implemented interfaces |
addPlaceholderClass | abstract public Cl addPlaceholderClass(String name)(Code) | | Add a placeholder class to our list of owned classes that will be replaced
later by the full class.
Parameters: name - the name of the placeholder class |
addPlaceholderClass | protected Cl addPlaceholderClass(String name, boolean isInnerClass)(Code) | | Add a placeholder class to our list of owned classes that will be replaced
later by the full class.
Parameters: name - the name of the placeholder class Parameters: isInnerClass - true if the placeholder class specifies an inner class;false else |
generateNames | public void generateNames()(Code) | | Generate unique obfuscated names for this namespace.
|
generateNames | protected void generateNames(Map map)(Code) | | Generate unique obfuscated names for a given namespace.
Parameters: map - the namespace |
getAllClassIterator | public Iterator getAllClassIterator()(Code) | | Get an iteration of all classes (both outer and inner) in the tree
beneath this tree item.
iterator for all subclasses of the current tree item |
getClass | public Cl getClass(String name)(Code) | | Get a class by name.
Parameters: name - the class name to find the class element with the given name |
getClassCount | public int getClassCount()(Code) | | Return the number of classes beneath the current tree item.
number of classes beneath the tree item |
getClassIterator | public Iterator getClassIterator()(Code) | | Get an iteration for all classes directly beneath this tree item.
iterator for all classes beneath the current tree item |
|
|