Modifier and Type | Method and Description |
---|---|
static WildcardTypeName |
WildcardTypeName.subtypeOf(Type upperBound) |
static WildcardTypeName |
WildcardTypeName.subtypeOf(TypeName upperBound)
Returns a type that represents an unknown type that extends
bound . |
static WildcardTypeName |
WildcardTypeName.supertypeOf(Type lowerBound) |
static WildcardTypeName |
WildcardTypeName.supertypeOf(TypeName lowerBound)
Returns a type that represents an unknown supertype of
bound . |
Copyright © 2015 Square, Inc.. All Rights Reserved.