com.thoughtworks.qdox.model
Class WildcardType
java.lang.Object
com.thoughtworks.qdox.model.Type
com.thoughtworks.qdox.model.WildcardType
- All Implemented Interfaces:
- Serializable, Comparable
public class WildcardType
- extends Type
This class supports both the 'super' and 'extends' wildcards.
For <?> you must use the normal Type, because ? itself can't be generic
- Author:
- Robert Scholte
- See Also:
- Serialized Form
Method Summary |
String |
getGenericValue()
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, getValue, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, toGenericString, toString |
WildcardType
public WildcardType()
WildcardType
public WildcardType(WildcardTypeDef typeDef)
WildcardType
public WildcardType(WildcardTypeDef typeDef,
JavaClassParent context)
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
Copyright © 2002-2011. All Rights Reserved.