Interface CaptureType
- All Superinterfaces:
Type
CaptureType represents a wildcard that has gone through capture conversion.
It is a custom subinterface of Type, not part of the java builtin Type hierarchy.
- Author:
- Wouter Coekaerts invalid input: '<'[email protected]>
-
Method Summary
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
Method Details
-
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()
.
-