Class TypeMaker

java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.TypeMaker

@Deprecated public class TypeMaker extends Object
Deprecated.

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.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static class 
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Type
    getType(DocEnv env, com.sun.tools.javac.code.Type t)
    Deprecated.
     
    static Type
    getType(DocEnv env, com.sun.tools.javac.code.Type t, boolean errorToClassDoc)
    Deprecated.
     
    static Type
    getType(DocEnv env, com.sun.tools.javac.code.Type t, boolean errToClassDoc, boolean considerAnnotations)
    Deprecated.
     
    private static Type
    getTypeImpl(DocEnv env, com.sun.tools.javac.code.Type t, boolean errToClassDoc, boolean considerAnnotations)
    Deprecated.
     
    static String
    getTypeName(com.sun.tools.javac.code.Type t, boolean full)
    Deprecated.
     
    static Type[]
    getTypes(DocEnv env, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> ts)
    Deprecated.
    Convert a list of javac types into an array of javadoc types.
    static Type[]
    getTypes(DocEnv env, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> ts, Type[] res)
    Deprecated.
    Like the above version, but use and return the array given.
    (package private) static String
    getTypeString(DocEnv env, com.sun.tools.javac.code.Type t, boolean full)
    Deprecated.
    Return the string representation of a type use.
    (package private) static String
    typeArgumentsString(DocEnv env, com.sun.tools.javac.code.Type.ClassType cl, boolean full)
    Deprecated.
    Return the actual type arguments of a parameterized type as an angle-bracketed string.
    (package private) static String
    typeParametersString(DocEnv env, com.sun.tools.javac.code.Symbol sym, boolean full)
    Deprecated.
    Return the formal type parameters of a class or method as an angle-bracketed string.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TypeMaker

      public TypeMaker()
      Deprecated.
  • Method Details

    • getType

      public static Type getType(DocEnv env, com.sun.tools.javac.code.Type t)
      Deprecated.
    • getType

      public static Type getType(DocEnv env, com.sun.tools.javac.code.Type t, boolean errorToClassDoc)
      Deprecated.
      Parameters:
      errToClassDoc - if true, ERROR type results in a ClassDoc; false preserves legacy behavior
    • getType

      public static Type getType(DocEnv env, com.sun.tools.javac.code.Type t, boolean errToClassDoc, boolean considerAnnotations)
      Deprecated.
    • getTypeImpl

      private static Type getTypeImpl(DocEnv env, com.sun.tools.javac.code.Type t, boolean errToClassDoc, boolean considerAnnotations)
      Deprecated.
    • getTypes

      public static Type[] getTypes(DocEnv env, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> ts)
      Deprecated.
      Convert a list of javac types into an array of javadoc types.
    • getTypes

      public static Type[] getTypes(DocEnv env, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> ts, Type[] res)
      Deprecated.
      Like the above version, but use and return the array given.
    • getTypeName

      public static String getTypeName(com.sun.tools.javac.code.Type t, boolean full)
      Deprecated.
    • getTypeString

      static String getTypeString(DocEnv env, com.sun.tools.javac.code.Type t, boolean full)
      Deprecated.
      Return the string representation of a type use. Bounds of type variables are not included; bounds of wildcard types are. Class names are qualified if "full" is true.
    • typeParametersString

      static String typeParametersString(DocEnv env, com.sun.tools.javac.code.Symbol sym, boolean full)
      Deprecated.
      Return the formal type parameters of a class or method as an angle-bracketed string. Each parameter is a type variable with optional bounds. Class names are qualified if "full" is true. Return "" if there are no type parameters or we're hiding generics.
    • typeArgumentsString

      static String typeArgumentsString(DocEnv env, com.sun.tools.javac.code.Type.ClassType cl, boolean full)
      Deprecated.
      Return the actual type arguments of a parameterized type as an angle-bracketed string. Class name are qualified if "full" is true. Return "" if there are no type arguments or we're hiding generics.