FileDocCategorySizeDatePackage
WildcardType.javaAPI DocJava SE 6 API1186Tue Jun 10 00:26:10 BST 2008javax.lang.model.type

WildcardType

public interface WildcardType implements TypeMirror
Represents a wildcard type argument. Examples include:

?
? extends Number
? super T

A wildcard may have its upper bound explicitly set by an {@code extends} clause, its lower bound explicitly set by a {@code super} clause, or neither (but not both).

author
Joseph D. Darcy
author
Scott Seligman
author
Peter von der Ahé
version
1.3 06/07/31
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public javax.lang.model.type.TypeMirrorgetExtendsBound()
Returns the upper bound of this wildcard. If no upper bound is explicitly declared, {@code null} is returned.

return
the upper bound of this wildcard

public javax.lang.model.type.TypeMirrorgetSuperBound()
Returns the lower bound of this wildcard. If no lower bound is explicitly declared, {@code null} is returned.

return
the lower bound of this wildcard