public interface JvmWildcardType extends JvmType
? extends Number
in List<? extends Number>
.WildcardType
Modifier and Type | Method and Description |
---|---|
default <T> T |
accept(JvmTypeVisitor<T> visitor) |
JvmType |
lowerBound()
A lower bound that this wildcard imposes on type parameter value.
That is: for ? extends XXX : empty iterable
for ? super XXX : XXX
for ? : null type
|
JvmType |
upperBound()
An upper bound that this wildcard imposes on type parameter value.
That is: for ? extends XXX : XXX
for ? super XXX : java.lang.Object
for ? : java.lang.Object
|
getAnnotations
JvmType upperBound()
? extends XXX
: XXX
? super XXX
: java.lang.Object
?
: java.lang.Object
WildcardType.getUpperBounds()
JvmType lowerBound()
? extends XXX
: empty iterable
? super XXX
: XXX
?
: null type
WildcardType.getLowerBounds()
default <T> T accept(JvmTypeVisitor<T> visitor)