Package com.thoughtworks.qdox.model
Class WildcardType
java.lang.Object
com.thoughtworks.qdox.model.Type
com.thoughtworks.qdox.model.WildcardType
- All Implemented Interfaces:
Serializable
,Comparable
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:
-
Field Summary
Fields inherited from class com.thoughtworks.qdox.model.Type
EMPTY_ARRAY, VOID
-
Constructor Summary
ConstructorsConstructorDescriptionWildcardType
(WildcardTypeDef typeDef) WildcardType
(WildcardTypeDef typeDef, JavaClassParent context) -
Method Summary
Modifier and TypeMethodDescriptionThe FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translatedMethods inherited from class com.thoughtworks.qdox.model.Type
compareTo, createUnresolved, createUnresolved, createUnresolved, equals, getActualTypeArguments, getDimensions, getFullQualifiedName, getFullyQualifiedName, getGenericValue, getJavaClass, getJavaClassParent, getResolvedGenericValue, getResolvedValue, getTypeVariableIndex, getValue, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, resolve, resolve, toGenericString, toString
-
Constructor Details
-
WildcardType
public WildcardType() -
WildcardType
-
WildcardType
-
-
Method Details
-
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
-