Class DocEnv


  • @Deprecated
    public class DocEnv
    extends java.lang.Object
    Deprecated.
    Holds the environment for a run of javadoc. Holds only the information needed throughout the run and not the compiler info that could be GC'ed or ported.

    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.4
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean breakiterator
      Deprecated.
      True if we are using a sentence BreakIterator.
      (package private) com.sun.tools.javac.comp.Check chk
      Deprecated.
       
      protected java.util.Map<com.sun.tools.javac.code.Symbol.ClassSymbol,​ClassDocImpl> classMap
      Deprecated.
       
      (package private) com.sun.tools.javac.util.Context context
      Deprecated.
       
      (package private) boolean docClasses
      Deprecated.
      Allow documenting from class files?
      protected static com.sun.tools.javac.util.Context.Key<DocEnv> docEnvKey
      Deprecated.
       
      (package private) com.sun.tools.doclint.DocLint doclint
      Deprecated.
       
      (package private) DocLocale doclocale
      Deprecated.
       
      private java.lang.String encoding
      Deprecated.
      The encoding name.
      (package private) com.sun.tools.javac.comp.Enter enter
      Deprecated.
      Javadoc's own version of the compiler's enter phase.
      (package private) com.sun.tools.javac.code.Symbol externalizableSym
      Deprecated.
       
      protected java.util.Map<com.sun.tools.javac.code.Symbol.VarSymbol,​FieldDocImpl> fieldMap
      Deprecated.
       
      (package private) javax.tools.JavaFileManager fileManager
      Deprecated.
       
      private com.sun.tools.javac.code.ClassFinder finder
      Deprecated.
      Referenced directly in RootDocImpl.
      (package private) JavaScriptScanner javaScriptScanner
      Deprecated.
       
      protected boolean legacyDoclet
      Deprecated.
      Does the doclet only expect pre-1.5 doclet API?
      private Messager messager
      Deprecated.
       
      protected java.util.Map<com.sun.tools.javac.code.Symbol.MethodSymbol,​ExecutableMemberDocImpl> methodMap
      Deprecated.
       
      private com.sun.tools.javac.util.Names names
      Deprecated.
      The name table.
      protected java.util.Map<com.sun.tools.javac.code.Symbol.PackageSymbol,​PackageDocImpl> packageMap
      Deprecated.
       
      (package private) boolean quiet
      Deprecated.
      True if we do not want to print any notifications at all.
      static java.lang.String SEPARATOR
      Deprecated.
       
      (package private) java.util.Map<com.sun.source.tree.CompilationUnitTree,​java.lang.Boolean> shouldCheck
      Deprecated.
       
      protected ModifierFilter showAccess
      Deprecated.
      Access filter (public, protected, ...).
      private boolean silent
      Deprecated.
      Set this to true if you would like to not emit any errors, warnings and notices.
      protected com.sun.tools.javac.code.Source source
      Deprecated.
      The source language version.
      private static java.lang.String STATS
      Deprecated.
       
      (package private) com.sun.tools.javac.code.Symtab syms
      Deprecated.
      Predefined symbols known to the compiler.
      (package private) java.util.WeakHashMap<com.sun.tools.javac.tree.JCTree,​com.sun.source.util.TreePath> treePaths
      Deprecated.
       
      (package private) com.sun.tools.javac.code.Types types
      Deprecated.
       
      static java.lang.String XCHECK_PACKAGE
      Deprecated.
       
      static java.lang.String XCUSTOM_TAGS_PREFIX
      Deprecated.
       
      static java.lang.String XMSGS_CUSTOM_PREFIX
      Deprecated.
       
      static java.lang.String XMSGS_OPTION
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DocEnv​(com.sun.tools.javac.util.Context context)
      Deprecated.
      Constructor
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void error​(SourcePosition pos, java.lang.String key)
      Deprecated.
      Print error message, increment error count.
      void error​(DocImpl doc, java.lang.String key)
      Deprecated.
      Print error message, increment error count.
      void error​(DocImpl doc, java.lang.String key, java.lang.String a1)
      Deprecated.
      Print error message, increment error count.
      void error​(DocImpl doc, java.lang.String key, java.lang.String a1, java.lang.String a2)
      Deprecated.
      Print error message, increment error count.
      void error​(DocImpl doc, java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)
      Deprecated.
      Print error message, increment error count.
      void exit()
      Deprecated.
      Exit, reporting errors and warnings.
      AnnotationTypeElementDocImpl getAnnotationTypeElementDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth)
      Deprecated.
      Return the AnnotationTypeElementDoc for a MethodSymbol.
      ClassDocImpl getClassDoc​(com.sun.tools.javac.code.Symbol.ClassSymbol clazz)
      Deprecated.
      Return the ClassDoc (or a subtype) of this class symbol.
      (package private) com.sun.tools.javac.code.Symbol.ClassSymbol getClassSymbol​(java.lang.String name)
      Deprecated.
      Retrieve class symbol by fully-qualified name.
      ConstructorDocImpl getConstructorDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth)
      Deprecated.
      Return the ConstructorDoc for a MethodSymbol.
      java.lang.String getEncoding()
      Deprecated.
      Get the encoding.
      FieldDocImpl getFieldDoc​(com.sun.tools.javac.code.Symbol.VarSymbol var)
      Deprecated.
      Return the FieldDoc of this var symbol.
      MethodDocImpl getMethodDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth)
      Deprecated.
      Return the MethodDoc for a MethodSymbol.
      PackageDocImpl getPackageDoc​(com.sun.tools.javac.code.Symbol.PackageSymbol pack)
      Deprecated.
      Return the PackageDoc of this package symbol.
      (package private) ParameterizedTypeImpl getParameterizedType​(com.sun.tools.javac.code.Type.ClassType t)
      Deprecated.
      Return the ParameterizedType of this instantiation.
      (package private) com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit tree)
      Deprecated.
       
      (package private) com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit toplevel, com.sun.tools.javac.tree.JCTree.JCClassDecl tree)
      Deprecated.
       
      (package private) com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit toplevel, com.sun.tools.javac.tree.JCTree.JCClassDecl cdecl, com.sun.tools.javac.tree.JCTree tree)
      Deprecated.
       
      (package private) com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit toplevel, com.sun.tools.javac.tree.JCTree.JCPackageDecl tree)
      Deprecated.
       
      (package private) void initDoclint​(java.util.Collection<java.lang.String> opts, java.util.Collection<java.lang.String> customTagNames, java.lang.String htmlVersion)
      Deprecated.
       
      (package private) JavaScriptScanner initJavaScriptScanner​(boolean allowScriptInComments)
      Deprecated.
       
      static DocEnv instance​(com.sun.tools.javac.util.Context context)
      Deprecated.
       
      protected static boolean isAnnotationType​(com.sun.tools.javac.code.Symbol.ClassSymbol clazz)
      Deprecated.
       
      protected static boolean isAnnotationType​(com.sun.tools.javac.tree.JCTree.JCClassDecl tree)
      Deprecated.
       
      protected boolean isVisible​(com.sun.tools.javac.code.Symbol.ClassSymbol sym)
      Deprecated.
      Check the visibility if this is an nested class.
      ClassDocImpl loadClass​(java.lang.String name)
      Deprecated.
      Load ClassDoc by qualified name.
      ClassDocImpl lookupClass​(java.lang.String name)
      Deprecated.
      Look up ClassDoc by qualified name.
      PackageDocImpl lookupPackage​(java.lang.String name)
      Deprecated.
      Look up PackageDoc by qualified name.
      protected void makeAnnotationTypeElementDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth, com.sun.source.util.TreePath treePath)
      Deprecated.
      Create the AnnotationTypeElementDoc for a MethodSymbol.
      protected void makeClassDoc​(com.sun.tools.javac.code.Symbol.ClassSymbol clazz, com.sun.source.util.TreePath treePath)
      Deprecated.
      Create the ClassDoc (or a subtype) for a class symbol.
      protected void makeConstructorDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth, com.sun.source.util.TreePath treePath)
      Deprecated.
      Create the ConstructorDoc for a MethodSymbol.
      protected void makeFieldDoc​(com.sun.tools.javac.code.Symbol.VarSymbol var, com.sun.source.util.TreePath treePath)
      Deprecated.
      Create a FieldDoc for a var symbol.
      protected void makeMethodDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth, com.sun.source.util.TreePath treePath)
      Deprecated.
      Create a MethodDoc for this MethodSymbol.
      (package private) void makePackageDoc​(com.sun.tools.javac.code.Symbol.PackageSymbol pack, com.sun.source.util.TreePath treePath)
      Deprecated.
      Create the PackageDoc (or a subtype) for a package symbol.
      void notice​(java.lang.String key)
      Deprecated.
      Print a message.
      void notice​(java.lang.String key, java.lang.String a1)
      Deprecated.
      Print a message.
      void notice​(java.lang.String key, java.lang.String a1, java.lang.String a2)
      Deprecated.
      Print a message.
      void notice​(java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)
      Deprecated.
      Print a message.
      void printError​(SourcePosition pos, java.lang.String msg)
      Deprecated.
      Print error message, increment error count.
      void printError​(java.lang.String msg)
      Deprecated.
      Print error message, increment error count.
      void printNotice​(SourcePosition pos, java.lang.String msg)
      Deprecated.
      Print a message.
      void printNotice​(java.lang.String msg)
      Deprecated.
      Print a message.
      void printWarning​(SourcePosition pos, java.lang.String msg)
      Deprecated.
      Print warning message, increment warning count.
      void printWarning​(java.lang.String msg)
      Deprecated.
      Print warning message, increment warning count.
      void setEncoding​(java.lang.String encoding)
      Deprecated.
      Set the encoding.
      void setLocale​(java.lang.String localeName)
      Deprecated.
      Set the locale.
      void setSilent​(boolean silent)
      Deprecated.
       
      (package private) boolean shouldCheck​(com.sun.source.tree.CompilationUnitTree unit)
      Deprecated.
       
      boolean shouldDocument​(com.sun.tools.javac.code.Symbol.ClassSymbol sym)
      Deprecated.
      check whether this class should be documented.
      boolean shouldDocument​(com.sun.tools.javac.code.Symbol.MethodSymbol sym)
      Deprecated.
      Check whether this member should be documented.
      boolean shouldDocument​(com.sun.tools.javac.code.Symbol.VarSymbol sym)
      Deprecated.
      Check whether this member should be documented.
      (package private) boolean showTagMessages()
      Deprecated.
       
      (package private) static int translateModifiers​(long flags)
      Deprecated.
      Convert modifier bits from private coding used by the compiler to that of java.lang.reflect.Modifier.
      void warning​(DocImpl doc, java.lang.String key)
      Deprecated.
      Print warning message, increment warning count.
      void warning​(DocImpl doc, java.lang.String key, java.lang.String a1)
      Deprecated.
      Print warning message, increment warning count.
      void warning​(DocImpl doc, java.lang.String key, java.lang.String a1, java.lang.String a2)
      Deprecated.
      Print warning message, increment warning count.
      void warning​(DocImpl doc, java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)
      Deprecated.
      Print warning message, increment warning count.
      void warning​(DocImpl doc, java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3, java.lang.String a4)
      Deprecated.
      Print warning message, increment warning count.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • XMSGS_OPTION

        public static final java.lang.String XMSGS_OPTION
        Deprecated.
        See Also:
        Constant Field Values
      • XMSGS_CUSTOM_PREFIX

        public static final java.lang.String XMSGS_CUSTOM_PREFIX
        Deprecated.
        See Also:
        Constant Field Values
      • XCUSTOM_TAGS_PREFIX

        public static final java.lang.String XCUSTOM_TAGS_PREFIX
        Deprecated.
        See Also:
        Constant Field Values
      • XCHECK_PACKAGE

        public static final java.lang.String XCHECK_PACKAGE
        Deprecated.
        See Also:
        Constant Field Values
      • docEnvKey

        protected static final com.sun.tools.javac.util.Context.Key<DocEnv> docEnvKey
        Deprecated.
      • messager

        private final Messager messager
        Deprecated.
      • syms

        final com.sun.tools.javac.code.Symtab syms
        Deprecated.
        Predefined symbols known to the compiler.
      • finder

        private final com.sun.tools.javac.code.ClassFinder finder
        Deprecated.
        Referenced directly in RootDocImpl.
      • enter

        final com.sun.tools.javac.comp.Enter enter
        Deprecated.
        Javadoc's own version of the compiler's enter phase.
      • names

        private final com.sun.tools.javac.util.Names names
        Deprecated.
        The name table.
      • encoding

        private java.lang.String encoding
        Deprecated.
        The encoding name.
      • externalizableSym

        final com.sun.tools.javac.code.Symbol externalizableSym
        Deprecated.
      • showAccess

        protected ModifierFilter showAccess
        Deprecated.
        Access filter (public, protected, ...).
      • breakiterator

        boolean breakiterator
        Deprecated.
        True if we are using a sentence BreakIterator.
      • quiet

        boolean quiet
        Deprecated.
        True if we do not want to print any notifications at all.
      • chk

        com.sun.tools.javac.comp.Check chk
        Deprecated.
      • types

        com.sun.tools.javac.code.Types types
        Deprecated.
      • fileManager

        javax.tools.JavaFileManager fileManager
        Deprecated.
      • context

        com.sun.tools.javac.util.Context context
        Deprecated.
      • doclint

        com.sun.tools.doclint.DocLint doclint
        Deprecated.
      • treePaths

        java.util.WeakHashMap<com.sun.tools.javac.tree.JCTree,​com.sun.source.util.TreePath> treePaths
        Deprecated.
      • docClasses

        boolean docClasses
        Deprecated.
        Allow documenting from class files?
      • legacyDoclet

        protected boolean legacyDoclet
        Deprecated.
        Does the doclet only expect pre-1.5 doclet API?
      • silent

        private boolean silent
        Deprecated.
        Set this to true if you would like to not emit any errors, warnings and notices.
      • source

        protected com.sun.tools.javac.code.Source source
        Deprecated.
        The source language version.
      • packageMap

        protected java.util.Map<com.sun.tools.javac.code.Symbol.PackageSymbol,​PackageDocImpl> packageMap
        Deprecated.
      • classMap

        protected java.util.Map<com.sun.tools.javac.code.Symbol.ClassSymbol,​ClassDocImpl> classMap
        Deprecated.
      • fieldMap

        protected java.util.Map<com.sun.tools.javac.code.Symbol.VarSymbol,​FieldDocImpl> fieldMap
        Deprecated.
      • methodMap

        protected java.util.Map<com.sun.tools.javac.code.Symbol.MethodSymbol,​ExecutableMemberDocImpl> methodMap
        Deprecated.
      • shouldCheck

        java.util.Map<com.sun.source.tree.CompilationUnitTree,​java.lang.Boolean> shouldCheck
        Deprecated.
    • Constructor Detail

      • DocEnv

        protected DocEnv​(com.sun.tools.javac.util.Context context)
        Deprecated.
        Constructor
        Parameters:
        context - Context for this javadoc instance.
    • Method Detail

      • instance

        public static DocEnv instance​(com.sun.tools.javac.util.Context context)
        Deprecated.
      • setSilent

        public void setSilent​(boolean silent)
        Deprecated.
      • lookupClass

        public ClassDocImpl lookupClass​(java.lang.String name)
        Deprecated.
        Look up ClassDoc by qualified name.
      • loadClass

        public ClassDocImpl loadClass​(java.lang.String name)
        Deprecated.
        Load ClassDoc by qualified name.
      • lookupPackage

        public PackageDocImpl lookupPackage​(java.lang.String name)
        Deprecated.
        Look up PackageDoc by qualified name.
      • getClassSymbol

        com.sun.tools.javac.code.Symbol.ClassSymbol getClassSymbol​(java.lang.String name)
        Deprecated.
        Retrieve class symbol by fully-qualified name.
      • setLocale

        public void setLocale​(java.lang.String localeName)
        Deprecated.
        Set the locale.
      • shouldDocument

        public boolean shouldDocument​(com.sun.tools.javac.code.Symbol.VarSymbol sym)
        Deprecated.
        Check whether this member should be documented.
      • shouldDocument

        public boolean shouldDocument​(com.sun.tools.javac.code.Symbol.MethodSymbol sym)
        Deprecated.
        Check whether this member should be documented.
      • shouldDocument

        public boolean shouldDocument​(com.sun.tools.javac.code.Symbol.ClassSymbol sym)
        Deprecated.
        check whether this class should be documented.
      • isVisible

        protected boolean isVisible​(com.sun.tools.javac.code.Symbol.ClassSymbol sym)
        Deprecated.
        Check the visibility if this is an nested class. if this is not a nested class, return true. if this is an static visible nested class, return true. if this is an visible nested class if the outer class is visible return true. else return false. IMPORTANT: This also allows, static nested classes to be defined inside an nested class, which is not allowed by the compiler. So such an test case will not reach upto this method itself, but if compiler allows it, then that will go through.
      • printError

        public void printError​(java.lang.String msg)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        msg - message to print.
      • error

        public void error​(DocImpl doc,
                          java.lang.String key)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        key - selects message from resource
      • error

        public void error​(SourcePosition pos,
                          java.lang.String key)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        key - selects message from resource
      • printError

        public void printError​(SourcePosition pos,
                               java.lang.String msg)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        msg - message to print.
      • error

        public void error​(DocImpl doc,
                          java.lang.String key,
                          java.lang.String a1)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        key - selects message from resource
        a1 - first argument
      • error

        public void error​(DocImpl doc,
                          java.lang.String key,
                          java.lang.String a1,
                          java.lang.String a2)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
      • error

        public void error​(DocImpl doc,
                          java.lang.String key,
                          java.lang.String a1,
                          java.lang.String a2,
                          java.lang.String a3)
        Deprecated.
        Print error message, increment error count.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
        a3 - third argument
      • printWarning

        public void printWarning​(java.lang.String msg)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        msg - message to print.
      • warning

        public void warning​(DocImpl doc,
                            java.lang.String key)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        key - selects message from resource
      • printWarning

        public void printWarning​(SourcePosition pos,
                                 java.lang.String msg)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        msg - message to print.
      • warning

        public void warning​(DocImpl doc,
                            java.lang.String key,
                            java.lang.String a1)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        key - selects message from resource
        a1 - first argument
      • warning

        public void warning​(DocImpl doc,
                            java.lang.String key,
                            java.lang.String a1,
                            java.lang.String a2)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
      • warning

        public void warning​(DocImpl doc,
                            java.lang.String key,
                            java.lang.String a1,
                            java.lang.String a2,
                            java.lang.String a3)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
        a3 - third argument
      • warning

        public void warning​(DocImpl doc,
                            java.lang.String key,
                            java.lang.String a1,
                            java.lang.String a2,
                            java.lang.String a3,
                            java.lang.String a4)
        Deprecated.
        Print warning message, increment warning count.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
        a3 - third argument
      • printNotice

        public void printNotice​(java.lang.String msg)
        Deprecated.
        Print a message.
        Parameters:
        msg - message to print.
      • notice

        public void notice​(java.lang.String key)
        Deprecated.
        Print a message.
        Parameters:
        key - selects message from resource
      • printNotice

        public void printNotice​(SourcePosition pos,
                                java.lang.String msg)
        Deprecated.
        Print a message.
        Parameters:
        msg - message to print.
      • notice

        public void notice​(java.lang.String key,
                           java.lang.String a1)
        Deprecated.
        Print a message.
        Parameters:
        key - selects message from resource
        a1 - first argument
      • notice

        public void notice​(java.lang.String key,
                           java.lang.String a1,
                           java.lang.String a2)
        Deprecated.
        Print a message.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
      • notice

        public void notice​(java.lang.String key,
                           java.lang.String a1,
                           java.lang.String a2,
                           java.lang.String a3)
        Deprecated.
        Print a message.
        Parameters:
        key - selects message from resource
        a1 - first argument
        a2 - second argument
        a3 - third argument
      • exit

        public void exit()
        Deprecated.
        Exit, reporting errors and warnings.
      • getPackageDoc

        public PackageDocImpl getPackageDoc​(com.sun.tools.javac.code.Symbol.PackageSymbol pack)
        Deprecated.
        Return the PackageDoc of this package symbol.
      • makePackageDoc

        void makePackageDoc​(com.sun.tools.javac.code.Symbol.PackageSymbol pack,
                            com.sun.source.util.TreePath treePath)
        Deprecated.
        Create the PackageDoc (or a subtype) for a package symbol.
      • getClassDoc

        public ClassDocImpl getClassDoc​(com.sun.tools.javac.code.Symbol.ClassSymbol clazz)
        Deprecated.
        Return the ClassDoc (or a subtype) of this class symbol.
      • makeClassDoc

        protected void makeClassDoc​(com.sun.tools.javac.code.Symbol.ClassSymbol clazz,
                                    com.sun.source.util.TreePath treePath)
        Deprecated.
        Create the ClassDoc (or a subtype) for a class symbol.
      • isAnnotationType

        protected static boolean isAnnotationType​(com.sun.tools.javac.code.Symbol.ClassSymbol clazz)
        Deprecated.
      • isAnnotationType

        protected static boolean isAnnotationType​(com.sun.tools.javac.tree.JCTree.JCClassDecl tree)
        Deprecated.
      • getFieldDoc

        public FieldDocImpl getFieldDoc​(com.sun.tools.javac.code.Symbol.VarSymbol var)
        Deprecated.
        Return the FieldDoc of this var symbol.
      • makeFieldDoc

        protected void makeFieldDoc​(com.sun.tools.javac.code.Symbol.VarSymbol var,
                                    com.sun.source.util.TreePath treePath)
        Deprecated.
        Create a FieldDoc for a var symbol.
      • makeMethodDoc

        protected void makeMethodDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth,
                                     com.sun.source.util.TreePath treePath)
        Deprecated.
        Create a MethodDoc for this MethodSymbol. Should be called only on symbols representing methods.
      • getMethodDoc

        public MethodDocImpl getMethodDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth)
        Deprecated.
        Return the MethodDoc for a MethodSymbol. Should be called only on symbols representing methods.
      • makeConstructorDoc

        protected void makeConstructorDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth,
                                          com.sun.source.util.TreePath treePath)
        Deprecated.
        Create the ConstructorDoc for a MethodSymbol. Should be called only on symbols representing constructors.
      • getConstructorDoc

        public ConstructorDocImpl getConstructorDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth)
        Deprecated.
        Return the ConstructorDoc for a MethodSymbol. Should be called only on symbols representing constructors.
      • makeAnnotationTypeElementDoc

        protected void makeAnnotationTypeElementDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth,
                                                    com.sun.source.util.TreePath treePath)
        Deprecated.
        Create the AnnotationTypeElementDoc for a MethodSymbol. Should be called only on symbols representing annotation type elements.
      • getAnnotationTypeElementDoc

        public AnnotationTypeElementDocImpl getAnnotationTypeElementDoc​(com.sun.tools.javac.code.Symbol.MethodSymbol meth)
        Deprecated.
        Return the AnnotationTypeElementDoc for a MethodSymbol. Should be called only on symbols representing annotation type elements.
      • getParameterizedType

        ParameterizedTypeImpl getParameterizedType​(com.sun.tools.javac.code.Type.ClassType t)
        Deprecated.
        Return the ParameterizedType of this instantiation. // * ### Could use Type.sameTypeAs() instead of equality matching in hashmap // * ### to avoid some duplication.
      • getTreePath

        com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit tree)
        Deprecated.
      • getTreePath

        com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit toplevel,
                                                 com.sun.tools.javac.tree.JCTree.JCPackageDecl tree)
        Deprecated.
      • getTreePath

        com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit toplevel,
                                                 com.sun.tools.javac.tree.JCTree.JCClassDecl tree)
        Deprecated.
      • getTreePath

        com.sun.source.util.TreePath getTreePath​(com.sun.tools.javac.tree.JCTree.JCCompilationUnit toplevel,
                                                 com.sun.tools.javac.tree.JCTree.JCClassDecl cdecl,
                                                 com.sun.tools.javac.tree.JCTree tree)
        Deprecated.
      • setEncoding

        public void setEncoding​(java.lang.String encoding)
        Deprecated.
        Set the encoding.
      • getEncoding

        public java.lang.String getEncoding()
        Deprecated.
        Get the encoding.
      • translateModifiers

        static int translateModifiers​(long flags)
        Deprecated.
        Convert modifier bits from private coding used by the compiler to that of java.lang.reflect.Modifier.
      • initDoclint

        void initDoclint​(java.util.Collection<java.lang.String> opts,
                         java.util.Collection<java.lang.String> customTagNames,
                         java.lang.String htmlVersion)
        Deprecated.
      • initJavaScriptScanner

        JavaScriptScanner initJavaScriptScanner​(boolean allowScriptInComments)
        Deprecated.
      • showTagMessages

        boolean showTagMessages()
        Deprecated.
      • shouldCheck

        boolean shouldCheck​(com.sun.source.tree.CompilationUnitTree unit)
        Deprecated.