| java.lang.Object com.sun.tools.javadoc.TypeMaker
TypeMaker | public class TypeMaker (Code) | | |
Method Summary | |
public static com.sun.javadoc.Type | getType(DocEnv env, Type t) | public static com.sun.javadoc.Type | getType(DocEnv env, Type t, boolean errToClassDoc) | public static String | getTypeName(Type t, boolean full) | static String | getTypeString(DocEnv env, Type t, boolean full) Return the string representation of a type use. | public static com.sun.javadoc.Type[] | getTypes(DocEnv env, List<Type> ts) Convert a list of javac types into an array of javadoc types. | public static com.sun.javadoc.Type[] | getTypes(DocEnv env, List<Type> ts, com.sun.javadoc.Type res) Like the above version, but use and return the array given. | static String | typeArgumentsString(DocEnv env, ClassType cl, boolean full) Return the actual type arguments of a parameterized type as an
angle-bracketed string. | static String | typeParametersString(DocEnv env, Symbol sym, boolean full) Return the formal type parameters of a class or method as an
angle-bracketed string. |
getType | public static com.sun.javadoc.Type getType(DocEnv env, Type t, boolean errToClassDoc)(Code) | | Parameters: errToClassDoc - if true, ERROR type results in a ClassDoc;false preserves legacy behavior |
getTypeString | static String getTypeString(DocEnv env, Type t, boolean full)(Code) | | 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.
|
getTypes | public static com.sun.javadoc.Type[] getTypes(DocEnv env, List<Type> ts)(Code) | | Convert a list of javac types into an array of javadoc types.
|
getTypes | public static com.sun.javadoc.Type[] getTypes(DocEnv env, List<Type> ts, com.sun.javadoc.Type res)(Code) | | Like the above version, but use and return the array given.
|
typeArgumentsString | static String typeArgumentsString(DocEnv env, ClassType cl, boolean full)(Code) | | 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.
|
typeParametersString | static String typeParametersString(DocEnv env, Symbol sym, boolean full)(Code) | | 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.
|
|
|