| java.lang.Object com.sun.tools.doclets.internal.toolkit.util.ClassTree
ClassTree | public class ClassTree (Code) | | Build Class Hierarchy for all the Classes. This class builds the Class
Tree and the Interface Tree separately.
This code is not part of an API.
It is implementation that is subject to change.
Do not use it as an API
See Also: java.util.HashMap See Also: java.util.List See Also: com.sun.javadoc.Type See Also: com.sun.javadoc.ClassDoc author: Atul M Dambalkar |
Method Summary | |
public List | allSubs(ClassDoc cd, boolean isEnum) Return a list of all direct or indirect, sub-classes and subinterfaces
of the ClassDoc argument. | public List | baseAnnotationTypes() Return the list of base annotation types. | public List | baseEnums() Return the list of base enums. | public List | baseclasses() Return the base-classes list. | public List | baseinterfaces() Return the list of base interfaces. | public List | implementingclasses(ClassDoc cd) Return the list of classes which implement the interface passed. | public List | subclasses(ClassDoc cd) Return the sub-class list for the class passed. | public List | subinterfaces(ClassDoc cd) Return the sub-interface list for the interface passed. | public List | subs(ClassDoc cd, boolean isEnum) Return the sub-class/interface list for the class/interface passed. |
ClassTree | public ClassTree(Configuration configuration, boolean noDeprecated)(Code) | | Constructor. Build the Tree using the Root of this Javadoc run.
Parameters: configuration - the configuration of the doclet. Parameters: noDeprecated - Don't add deprecated classes in the class tree, iftrue. |
ClassTree | public ClassTree(RootDoc root, Configuration configuration)(Code) | | Constructor. Build the Tree using the Root of this Javadoc run.
Parameters: root - Root of the Document. Parameters: configuration - The curren configuration of the doclet. |
ClassTree | public ClassTree(ClassDoc[] classes, Configuration configuration)(Code) | | Constructor. Build the tree for the given array of classes.
Parameters: classes - Array of classes. Parameters: configuration - The curren configuration of the doclet. |
allSubs | public List allSubs(ClassDoc cd, boolean isEnum)(Code) | | Return a list of all direct or indirect, sub-classes and subinterfaces
of the ClassDoc argument.
Parameters: cd - ClassDoc whose sub-classes or sub-interfaces are requested. Parameters: isEnum - true if the subclasses should be forced to come from theenum tree. |
baseAnnotationTypes | public List baseAnnotationTypes()(Code) | | Return the list of base annotation types. This is the list of
annotation types which do not have super-annotation types.
|
baseEnums | public List baseEnums()(Code) | | Return the list of base enums. This is the list of enums
which do not have super-enums.
|
baseclasses | public List baseclasses()(Code) | | Return the base-classes list. This will have only one element namely
thw classdoc for java.lang.Object, since this is the base class for all
classes.
|
baseinterfaces | public List baseinterfaces()(Code) | | Return the list of base interfaces. This is the list of interfaces
which do not have super-interface.
|
implementingclasses | public List implementingclasses(ClassDoc cd)(Code) | | Return the list of classes which implement the interface passed.
Parameters: cd - interface whose implementing-classes list is required. |
subclasses | public List subclasses(ClassDoc cd)(Code) | | Return the sub-class list for the class passed.
Parameters: cd - class whose sub-class list is required. |
subinterfaces | public List subinterfaces(ClassDoc cd)(Code) | | Return the sub-interface list for the interface passed.
Parameters: cd - interface whose sub-interface list is required. |
subs | public List subs(ClassDoc cd, boolean isEnum)(Code) | | Return the sub-class/interface list for the class/interface passed.
Parameters: cd - class/interface whose sub-class/interface list is required. Parameters: isEnum - true if the subclasses should be forced to come from theenum tree. |
|
|