public interface CaptureType extends Type
Modifier and Type | Method and Description |
---|---|
Type[] |
getLowerBounds()
Returns an array of Type objects representing the lower bound(s) of this type
variable.
|
TypeVariable<?> |
getTypeVariable() |
Type[] |
getUpperBounds()
Returns an array of Type objects representing the upper bound(s) of this capture.
|
WildcardType |
getWildcardType() |
void |
setUpperBounds(Type[] upperBounds)
Overwrite the upper bounds of this capture.
|
getTypeName
Type[] getUpperBounds()
void setUpperBounds(Type[] upperBounds)
upperBounds
- upper bound(s) of this captureType[] getLowerBounds()
WildcardType.getLowerBounds()
.TypeVariable<?> getTypeVariable()
WildcardType getWildcardType()
Copyright © 2016–2019. All rights reserved.