java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper

@Deprecated public class ClassUseMapper extends Object
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 Details

    • classtree

      private final ClassTree classtree
      Deprecated.
    • classToPackage

      public Map<String,Set<PackageDoc>> classToPackage
      Deprecated.
      Mapping of ClassDocs to set of PackageDoc used by that class. Entries may be null.
    • classToPackageAnnotations

      public Map<String,List<PackageDoc>> classToPackageAnnotations
      Deprecated.
      Mapping of Annotations to set of PackageDoc that use the annotation.
    • classToClass

      public Map<String,Set<ClassDoc>> classToClass
      Deprecated.
      Mapping of ClassDocs to set of ClassDoc used by that class. Entries may be null.
    • classToSubclass

      public Map<String,List<ClassDoc>> classToSubclass
      Deprecated.
      Mapping of ClassDocs to list of ClassDoc which are direct or indirect subclasses of that class. Entries may be null.
    • classToSubinterface

      public Map<String,List<ClassDoc>> classToSubinterface
      Deprecated.
      Mapping of ClassDocs to list of ClassDoc which are direct or indirect subinterfaces of that interface. Entries may be null.
    • classToImplementingClass

      public Map<String,List<ClassDoc>> classToImplementingClass
      Deprecated.
      Mapping of ClassDocs to list of ClassDoc which implement this interface. Entries may be null.
    • classToField

      public Map<String,List<FieldDoc>> classToField
      Deprecated.
      Mapping of ClassDocs to list of FieldDoc declared as that class. Entries may be null.
    • classToMethodReturn

      public Map<String,List<MethodDoc>> classToMethodReturn
      Deprecated.
      Mapping of ClassDocs to list of MethodDoc returning that class. Entries may be null.
    • classToMethodArgs

      public Map<String,List<ExecutableMemberDoc>> classToMethodArgs
      Deprecated.
      Mapping of ClassDocs to list of MethodDoc having that class as an arg. Entries may be null.
    • classToMethodThrows

      public Map<String,List<ExecutableMemberDoc>> classToMethodThrows
      Deprecated.
      Mapping of ClassDocs to list of MethodDoc which throws that class. Entries may be null.
    • classToConstructorArgs

      public Map<String,List<ExecutableMemberDoc>> classToConstructorArgs
      Deprecated.
      Mapping of ClassDocs to list of ConstructorDoc having that class as an arg. Entries may be null.
    • classToConstructorThrows

      public Map<String,List<ExecutableMemberDoc>> classToConstructorThrows
      Deprecated.
      Mapping of ClassDocs to list of ConstructorDoc which throws that class. Entries may be null.
    • classToConstructorAnnotations

      public Map<String,List<ConstructorDoc>> classToConstructorAnnotations
      Deprecated.
      The mapping of AnnotationTypeDocs to constructors that use them.
    • classToConstructorParamAnnotation

      public Map<String,List<ExecutableMemberDoc>> classToConstructorParamAnnotation
      Deprecated.
      The mapping of AnnotationTypeDocs to Constructor parameters that use them.
    • classToConstructorDocArgTypeParam

      public Map<String,List<ExecutableMemberDoc>> classToConstructorDocArgTypeParam
      Deprecated.
      The mapping of ClassDocs to Constructor arguments that use them as type parameters.
    • classToClassTypeParam

      public Map<String,List<ClassDoc>> classToClassTypeParam
      Deprecated.
      The mapping of ClassDocs to ClassDocs that use them as type parameters.
    • classToClassAnnotations

      public Map<String,List<ClassDoc>> classToClassAnnotations
      Deprecated.
      The mapping of AnnotationTypeDocs to ClassDocs that use them.
    • classToExecMemberDocTypeParam

      public Map<String,List<MethodDoc>> classToExecMemberDocTypeParam
      Deprecated.
      The mapping of ClassDocs to ExecutableMemberDocs that use them as type parameters.
    • classToExecMemberDocArgTypeParam

      public Map<String,List<ExecutableMemberDoc>> classToExecMemberDocArgTypeParam
      Deprecated.
      The mapping of ClassDocs to ExecutableMemberDocs arguments that use them as type parameters.
    • classToExecMemberDocAnnotations

      public Map<String,List<MethodDoc>> classToExecMemberDocAnnotations
      Deprecated.
      The mapping of AnnotationTypeDocs to ExecutableMemberDocs that use them.
    • classToExecMemberDocReturnTypeParam

      public Map<String,List<MethodDoc>> classToExecMemberDocReturnTypeParam
      Deprecated.
      The mapping of ClassDocs to ExecutableMemberDocs that have return type with type parameters of that class.
    • classToExecMemberDocParamAnnotation

      public Map<String,List<ExecutableMemberDoc>> classToExecMemberDocParamAnnotation
      Deprecated.
      The mapping of AnnotationTypeDocs to MethodDoc parameters that use them.
    • classToFieldDocTypeParam

      public Map<String,List<FieldDoc>> classToFieldDocTypeParam
      Deprecated.
      The mapping of ClassDocs to FieldDocs that use them as type parameters.
    • annotationToFieldDoc

      public Map<String,List<FieldDoc>> annotationToFieldDoc
      Deprecated.
      The mapping of AnnotationTypeDocs to FieldDocs that use them.
    • utils

      private final Utils utils
      Deprecated.
  • Constructor Details

  • Method Details

    • subclasses

      private Collection<ClassDoc> subclasses(ClassDoc cd)
      Deprecated.
      Return all subclasses of a class AND fill-in classToSubclass map.
    • subinterfaces

      private Collection<ClassDoc> subinterfaces(ClassDoc cd)
      Deprecated.
      Return all subinterfaces of an interface AND fill-in classToSubinterface map.
    • implementingClasses

      private Collection<ClassDoc> implementingClasses(ClassDoc cd)
      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

      private void mapExecutable(ExecutableMemberDoc em)
      Deprecated.
      Determine classes used by a method or constructor, so they can be inverse mapped.
    • refList

      private <T> List<T> refList(Map<String,List<T>> map, ClassDoc cd)
      Deprecated.
    • packageSet

      private Set<PackageDoc> packageSet(ClassDoc cd)
      Deprecated.
    • classSet

      private Set<ClassDoc> classSet(ClassDoc cd)
      Deprecated.
    • add

      private <T extends ProgramElementDoc> void add(Map<String,List<T>> map, ClassDoc cd, T ref)
      Deprecated.
    • addAll

      private void addAll(Map<String,List<ClassDoc>> map, ClassDoc cd, Collection<ClassDoc> refs)
      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.