-
- All Superinterfaces:
Type
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
. For more information, see the Migration Guide in the documentation for that package.
@Deprecated public interface WildcardType extends Type
Represents a wildcard type argument. Examples include:<?>
<? extends E>
<? super T>
- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Type[]
extendsBounds()
Deprecated.Return the upper bounds of this wildcard type argument as given by the extends clause.Type[]
superBounds()
Deprecated.Return the lower bounds of this wildcard type argument as given by the super clause.-
Methods inherited from interface com.sun.javadoc.Type
asAnnotatedType, asAnnotationTypeDoc, asClassDoc, asParameterizedType, asTypeVariable, asWildcardType, dimension, getElementType, isPrimitive, qualifiedTypeName, simpleTypeName, toString, typeName
-
-
-
-
Method Detail
-
extendsBounds
Type[] extendsBounds()
Deprecated.Return the upper bounds of this wildcard type argument as given by the extends clause. Return an empty array if no such bounds are explicitly given.- Returns:
- the extends bounds of this wildcard type argument
-
superBounds
Type[] superBounds()
Deprecated.Return the lower bounds of this wildcard type argument as given by the super clause. Return an empty array if no such bounds are explicitly given.- Returns:
- the super bounds of this wildcard type argument
-
-