com.thoughtworks.qdox.model
Class TypeVariable

java.lang.Object
  extended by com.thoughtworks.qdox.model.Type
      extended by 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

Field Summary
static TypeVariable[] EMPTY_ARRAY
           
 
Fields inherited from class com.thoughtworks.qdox.model.Type
VOID
 
Constructor Summary
TypeVariable(String fullName, TypeVariableDef def, JavaClassParent context)
           
 
Method Summary
static TypeVariable createUnresolved(TypeVariableDef def, JavaClassParent context)
           
 String getGenericValue()
          The FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translated
 String getName()
           
 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, getDimensions, getFullQualifiedName, getFullyQualifiedName, getGenericValue, getJavaClass, getJavaClassParent, getResolvedGenericValue, getResolvedValue, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, toGenericString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final TypeVariable[] EMPTY_ARRAY
Constructor Detail

TypeVariable

public TypeVariable(String fullName,
                    TypeVariableDef def,
                    JavaClassParent context)
Method Detail

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.