Interface CaptureType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type[]
getLowerBounds()
Returns an array of Type objects representing the lower bound(s) of this type variable.Type[]
getUpperBounds()
Returns an array of Type objects representing the upper bound(s) of this capture.-
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
-
-
-
Method Detail
-
getUpperBounds
Type[] getUpperBounds()
Returns an array of Type objects representing the upper bound(s) of this capture. This includes both the upper bound of a ? extends wildcard, and the bounds declared with the type variable. References to other (or the same) type variables in bounds coming from the type variable are replaced by their matching capture.
-
getLowerBounds
Type[] getLowerBounds()
Returns an array of Type objects representing the lower bound(s) of this type variable. This is the bound of a ? super wildcard. This normally contains only one or no types; it is an array for consistency withWildcardType.getLowerBounds()
.
-
-