Package com.thoughtworks.qdox.model
Class TypeVariable
- java.lang.Object
-
- com.thoughtworks.qdox.model.Type
-
- com.thoughtworks.qdox.model.TypeVariable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
public class TypeVariable extends Type
- Since:
- 1.10
- Author:
- Robert Scholte
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TypeVariable[]
EMPTY_ARRAY
-
Constructor Summary
Constructors Constructor Description TypeVariable(java.lang.String fullName, TypeVariableDef def, JavaClassParent context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeVariable
createUnresolved(TypeVariableDef def, JavaClassParent context)
java.lang.String
getGenericValue()
The FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translatedjava.lang.String
getName()
java.lang.String
getValue()
The FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translated-
Methods inherited from class com.thoughtworks.qdox.model.Type
compareTo, createUnresolved, createUnresolved, createUnresolved, equals, getActualTypeArguments, getDimensions, getFullQualifiedName, getFullyQualifiedName, getGenericValue, getJavaClass, getJavaClassParent, getResolvedGenericValue, getResolvedValue, getTypeVariableIndex, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, resolve, resolve, toGenericString, toString
-
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final TypeVariable[] EMPTY_ARRAY
-
-
Constructor Detail
-
TypeVariable
public TypeVariable(java.lang.String fullName, TypeVariableDef def, JavaClassParent context)
-
-
Method Detail
-
createUnresolved
public static TypeVariable createUnresolved(TypeVariableDef def, JavaClassParent context)
-
getValue
public java.lang.String getValue()
Description copied from class:Type
The FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translatedObject > java.lang.object java.util.List
> java.util.List ? > ? T > T anypackage.Outer.Inner > anypackage.Outer.Inner
-
getGenericValue
public java.lang.String getGenericValue()
Description copied from class:Type
The FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translatedObject > java.lang.object java.util.List
> java.util.List ? > ? T > T anypackage.Outer.Inner > anypackage.Outer.Inner - Overrides:
getGenericValue
in classType
- Returns:
- generic type representation for code usage
-
getName
public java.lang.String getName()
-
-