com.thoughtworks.qdox.model

Class WildcardType

Implemented Interfaces:
Comparable, Serializable

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

Field Summary

Fields inherited from class com.thoughtworks.qdox.model.Type

EMPTY_ARRAY, VOID

Constructor Summary

WildcardType()
WildcardType(WildcardTypeDef typeDef)
WildcardType(WildcardTypeDef typeDef, JavaClassParent context)

Method Summary

String
getGenericValue()

Methods inherited from class com.thoughtworks.qdox.model.Type

compareTo, createUnresolved, createUnresolved, createUnresolved, equals, getDimensions, getGenericValue, getJavaClass, getJavaClassParent, getValue, hashCode, isA, isArray, isPrimitive, isResolved, isVoid, toString

Constructor Details

WildcardType

public WildcardType()

WildcardType

public WildcardType(WildcardTypeDef typeDef)

WildcardType

public WildcardType(WildcardTypeDef typeDef,
                    JavaClassParent context)

Method Details

getGenericValue

public String getGenericValue()
Overrides:
getGenericValue in interface Type
Since:
1.8