Class ClassUseMapper
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper
Deprecated.
Map all class uses for a given class.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.The mapping of AnnotationTypeDocs to FieldDocs that use them.Deprecated.Mapping of ClassDocs to set of ClassDoc used by that class.Deprecated.The mapping of AnnotationTypeDocs to ClassDocs that use them.Deprecated.The mapping of ClassDocs to ClassDocs that use them as type parameters.Deprecated.The mapping of AnnotationTypeDocs to constructors that use them.Deprecated.Mapping of ClassDocs to list of ConstructorDoc having that class as an arg.Deprecated.The mapping of ClassDocs to Constructor arguments that use them as type parameters.Deprecated.The mapping of AnnotationTypeDocs to Constructor parameters that use them.Deprecated.Mapping of ClassDocs to list of ConstructorDoc which throws that class.Deprecated.The mapping of AnnotationTypeDocs to ExecutableMemberDocs that use them.Deprecated.The mapping of ClassDocs to ExecutableMemberDocs arguments that use them as type parameters.Deprecated.The mapping of AnnotationTypeDocs to MethodDoc parameters that use them.Deprecated.The mapping of ClassDocs to ExecutableMemberDocs that have return type with type parameters of that class.Deprecated.The mapping of ClassDocs to ExecutableMemberDocs that use them as type parameters.Deprecated.Mapping of ClassDocs to list of FieldDoc declared as that class.Deprecated.The mapping of ClassDocs to FieldDocs that use them as type parameters.Deprecated.Mapping of ClassDocs to list of ClassDoc which implement this interface.Deprecated.Mapping of ClassDocs to list of MethodDoc having that class as an arg.Deprecated.Mapping of ClassDocs to list of MethodDoc returning that class.Deprecated.Mapping of ClassDocs to list of MethodDoc which throws that class.Deprecated.Mapping of ClassDocs to set of PackageDoc used by that class.Deprecated.Mapping of Annotations to set of PackageDoc that use the annotation.Deprecated.Mapping of ClassDocs to list of ClassDoc which are direct or indirect subclasses of that class.Deprecated.Mapping of ClassDocs to list of ClassDoc which are direct or indirect subinterfaces of that interface.private final ClassTree
Deprecated.private final Utils
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionClassUseMapper
(ConfigurationImpl configuration, ClassTree classtree) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends ProgramElementDoc>
voidDeprecated.private void
Deprecated.private <T extends ProgramElementDoc>
voidaddTypeParameterToMap
(Map<String, List<T>> map, Type type, T holder) Deprecated.Deprecated.private Collection<ClassDoc>
Deprecated.Return all implementing classes of an interface (including all subclasses of implementing classes and all classes implementing subinterfaces) AND fill-in both classToImplementingClass and classToSubinterface maps.private <T extends PackageDoc>
voidmapAnnotations
(Map<String, List<T>> map, PackageDoc doc, T holder) Deprecated.Map the AnnotationType to the ProgramElementDocs that use them as type parameters.private <T extends ProgramElementDoc>
voidmapAnnotations
(Map<String, List<T>> map, Object doc, T holder) Deprecated.Map the AnnotationType to the ProgramElementDocs that use them as type parameters.private void
Deprecated.Determine classes used by a method or constructor, so they can be inverse mapped.private <T extends ProgramElementDoc>
voidmapTypeParameters
(Map<String, List<T>> map, Object doc, T holder) Deprecated.Map the ClassDocs to the ProgramElementDocs that use them as type parameters.private Set<PackageDoc>
packageSet
(ClassDoc cd) Deprecated.private <T> List<T>
Deprecated.private Collection<ClassDoc>
subclasses
(ClassDoc cd) Deprecated.Return all subclasses of a class AND fill-in classToSubclass map.private Collection<ClassDoc>
Deprecated.Return all subinterfaces of an interface AND fill-in classToSubinterface map.
-
Field Details
-
classtree
Deprecated. -
classToPackage
Deprecated.Mapping of ClassDocs to set of PackageDoc used by that class. Entries may be null. -
classToPackageAnnotations
Deprecated.Mapping of Annotations to set of PackageDoc that use the annotation. -
classToClass
Deprecated.Mapping of ClassDocs to set of ClassDoc used by that class. Entries may be null. -
classToSubclass
Deprecated.Mapping of ClassDocs to list of ClassDoc which are direct or indirect subclasses of that class. Entries may be null. -
classToSubinterface
Deprecated.Mapping of ClassDocs to list of ClassDoc which are direct or indirect subinterfaces of that interface. Entries may be null. -
classToImplementingClass
Deprecated.Mapping of ClassDocs to list of ClassDoc which implement this interface. Entries may be null. -
classToField
Deprecated.Mapping of ClassDocs to list of FieldDoc declared as that class. Entries may be null. -
classToMethodReturn
Deprecated.Mapping of ClassDocs to list of MethodDoc returning that class. Entries may be null. -
classToMethodArgs
Deprecated.Mapping of ClassDocs to list of MethodDoc having that class as an arg. Entries may be null. -
classToMethodThrows
Deprecated.Mapping of ClassDocs to list of MethodDoc which throws that class. Entries may be null. -
classToConstructorArgs
Deprecated.Mapping of ClassDocs to list of ConstructorDoc having that class as an arg. Entries may be null. -
classToConstructorThrows
Deprecated.Mapping of ClassDocs to list of ConstructorDoc which throws that class. Entries may be null. -
classToConstructorAnnotations
Deprecated.The mapping of AnnotationTypeDocs to constructors that use them. -
classToConstructorParamAnnotation
Deprecated.The mapping of AnnotationTypeDocs to Constructor parameters that use them. -
classToConstructorDocArgTypeParam
Deprecated.The mapping of ClassDocs to Constructor arguments that use them as type parameters. -
classToClassTypeParam
Deprecated.The mapping of ClassDocs to ClassDocs that use them as type parameters. -
classToClassAnnotations
Deprecated.The mapping of AnnotationTypeDocs to ClassDocs that use them. -
classToExecMemberDocTypeParam
Deprecated.The mapping of ClassDocs to ExecutableMemberDocs that use them as type parameters. -
classToExecMemberDocArgTypeParam
Deprecated.The mapping of ClassDocs to ExecutableMemberDocs arguments that use them as type parameters. -
classToExecMemberDocAnnotations
Deprecated.The mapping of AnnotationTypeDocs to ExecutableMemberDocs that use them. -
classToExecMemberDocReturnTypeParam
Deprecated.The mapping of ClassDocs to ExecutableMemberDocs that have return type with type parameters of that class. -
classToExecMemberDocParamAnnotation
Deprecated.The mapping of AnnotationTypeDocs to MethodDoc parameters that use them. -
classToFieldDocTypeParam
Deprecated.The mapping of ClassDocs to FieldDocs that use them as type parameters. -
annotationToFieldDoc
Deprecated.The mapping of AnnotationTypeDocs to FieldDocs that use them. -
utils
Deprecated.
-
-
Constructor Details
-
ClassUseMapper
Deprecated.
-
-
Method Details
-
subclasses
Deprecated.Return all subclasses of a class AND fill-in classToSubclass map. -
subinterfaces
Deprecated.Return all subinterfaces of an interface AND fill-in classToSubinterface map. -
implementingClasses
Deprecated.Return all implementing classes of an interface (including all subclasses of implementing classes and all classes implementing subinterfaces) AND fill-in both classToImplementingClass and classToSubinterface maps. -
mapExecutable
Deprecated.Determine classes used by a method or constructor, so they can be inverse mapped. -
refList
Deprecated. -
packageSet
Deprecated. -
classSet
Deprecated. -
add
Deprecated. -
addAll
Deprecated. -
mapTypeParameters
private <T extends ProgramElementDoc> void mapTypeParameters(Map<String, List<T>> map, Object doc, T holder) Deprecated.Map the ClassDocs to the ProgramElementDocs that use them as type parameters.- Parameters:
map
- the map the insert the information into.doc
- the doc whose type parameters are being checked.holder
- the holder that owns the type parameters.
-
mapAnnotations
private <T extends ProgramElementDoc> void mapAnnotations(Map<String, List<T>> map, Object doc, T holder) Deprecated.Map the AnnotationType to the ProgramElementDocs that use them as type parameters.- Parameters:
map
- the map the insert the information into.doc
- the doc whose type parameters are being checked.holder
- the holder that owns the type parameters.
-
mapAnnotations
private <T extends PackageDoc> void mapAnnotations(Map<String, List<T>> map, PackageDoc doc, T holder) Deprecated.Map the AnnotationType to the ProgramElementDocs that use them as type parameters.- Parameters:
map
- the map the insert the information into.doc
- the doc whose type parameters are being checked.holder
- the holder that owns the type parameters.
-
addTypeParameterToMap
private <T extends ProgramElementDoc> void addTypeParameterToMap(Map<String, List<T>> map, Type type, T holder) Deprecated.
-