com.thoughtworks.qdox.model
Class TypeVariable
java.lang.Object
com.thoughtworks.qdox.model.Type
com.thoughtworks.qdox.model.TypeVariable
- All Implemented Interfaces:
- Serializable, Comparable
public class TypeVariable
- extends Type
- Since:
- 1.10
- Author:
- Robert Scholte
- See Also:
- Serialized Form
Fields inherited from class com.thoughtworks.qdox.model.Type |
VOID |
Methods inherited from class com.thoughtworks.qdox.model.Type |
compareTo, createUnresolved, createUnresolved, createUnresolved, equals, getDimensions, getFullQualifiedName, getFullyQualifiedName, getGenericValue, getJavaClass, getJavaClassParent, getResolvedGenericValue, getResolvedValue, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, toGenericString, toString |
EMPTY_ARRAY
public static final TypeVariable[] EMPTY_ARRAY
TypeVariable
public TypeVariable(String fullName,
TypeVariableDef def,
JavaClassParent context)
createUnresolved
public static TypeVariable createUnresolved(TypeVariableDef def,
JavaClassParent context)
getValue
public 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 translated
Object > java.lang.object
java.util.List > java.util.List
? > ?
T > T
anypackage.Outer.Inner > anypackage.Outer.Inner
- Overrides:
getValue
in class Type
- Returns:
- type representation for code usage
getGenericValue
public 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 translated
Object > java.lang.object
java.util.List > java.util.List
? > ?
T > T
anypackage.Outer.Inner > anypackage.Outer.Inner
- Overrides:
getGenericValue
in class Type
- Returns:
- generic type representation for code usage
getName
public String getName()
Copyright © 2002-2011. All Rights Reserved.