public interface CaptureType
extends java.lang.reflect.Type
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Type[] |
getLowerBounds()
Returns an array of Type objects representing the lower bound(s) of this type
variable.
|
java.lang.reflect.TypeVariable<?> |
getTypeVariable() |
java.lang.reflect.Type[] |
getUpperBounds()
Returns an array of Type objects representing the upper bound(s) of this capture.
|
java.lang.reflect.WildcardType |
getWildcardType() |
void |
setUpperBounds(java.lang.reflect.Type[] upperBounds)
Overwrite the upper bounds of this capture.
|
java.lang.reflect.Type[] getUpperBounds()
void setUpperBounds(java.lang.reflect.Type[] upperBounds)
upperBounds
- upper bound(s) of this capturejava.lang.reflect.Type[] getLowerBounds()
WildcardType.getLowerBounds()
.java.lang.reflect.TypeVariable<?> getTypeVariable()
java.lang.reflect.WildcardType getWildcardType()