Class TypeMaker


  • @Deprecated
    public class TypeMaker
    extends java.lang.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  TypeMaker.ArrayTypeImpl
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeMaker()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 Detail

      • TypeMaker

        public TypeMaker()
        Deprecated.
    • Method Detail

      • 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 java.lang.String getTypeName​(com.sun.tools.javac.code.Type t,
                                                   boolean full)
        Deprecated.
      • getTypeString

        static java.lang.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 java.lang.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 java.lang.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.