Package com.thoughtworks.qdox.model
Class WildcardType
- java.lang.Object
-
- com.thoughtworks.qdox.model.Type
-
- com.thoughtworks.qdox.model.WildcardType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.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
-
-
Field Summary
-
Fields inherited from class com.thoughtworks.qdox.model.Type
EMPTY_ARRAY, VOID
-
-
Constructor Summary
Constructors Constructor Description WildcardType()WildcardType(WildcardTypeDef typeDef)WildcardType(WildcardTypeDef typeDef, JavaClassParent context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGenericValue()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, getValue, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, resolve, resolve, toGenericString, toString
-
-
-
-
Constructor Detail
-
WildcardType
public WildcardType()
-
WildcardType
public WildcardType(WildcardTypeDef typeDef)
-
WildcardType
public WildcardType(WildcardTypeDef typeDef, JavaClassParent context)
-
-
Method Detail
-
getGenericValue
public java.lang.String getGenericValue()
Description copied from class:TypeThe 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:
getGenericValuein classType- Returns:
- generic type representation for code usage
-
-