Class DeprecatedAPIListBuilder

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

@Deprecated public class DeprecatedAPIListBuilder extends Object
Deprecated.
Build list of all the deprecated packages, classes, constructors, fields and methods.

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.

  • Field Details

  • Constructor Details

    • DeprecatedAPIListBuilder

      public DeprecatedAPIListBuilder(Configuration configuration)
      Deprecated.
      Constructor.
      Parameters:
      configuration - the current configuration of the doclet
  • Method Details

    • buildDeprecatedAPIInfo

      private void buildDeprecatedAPIInfo()
      Deprecated.
      Build the sorted list of all the deprecated APIs in this run. Build separate lists for deprecated packages, classes, constructors, methods and fields.
      Parameters:
      configuration - the current configuration of the doclet.
    • composeDeprecatedList

      private void composeDeprecatedList(List<Doc> list, MemberDoc[] members)
      Deprecated.
      Add the members into a single list of deprecated members.
      Parameters:
      list - List of all the particular deprecated members, e.g. methods.
      members - members to be added in the list.
    • sortDeprecatedLists

      private void sortDeprecatedLists()
      Deprecated.
      Sort the deprecated lists for class kinds, fields, methods and constructors.
    • getList

      public List<Doc> getList(int type)
      Deprecated.
      Return the list of deprecated Doc objects of a given type.
      Parameters:
      type - the constant representing the type of list being returned.
    • hasDocumentation

      public boolean hasDocumentation(int type)
      Deprecated.
      Return true if the list of a given type has size greater than 0.
      Parameters:
      type - the type of list being checked.