Modifier and Type | Method | Description |
---|---|---|
WildcardTypeName |
WildcardTypeName.annotated(List<AnnotationSpec> annotations) |
|
static WildcardTypeName |
WildcardTypeName.subtypeOf(TypeName upperBound) |
Returns a type that represents an unknown type that extends
bound . |
static WildcardTypeName |
WildcardTypeName.subtypeOf(Type upperBound) |
|
static WildcardTypeName |
WildcardTypeName.supertypeOf(TypeName lowerBound) |
Returns a type that represents an unknown supertype of
bound . |
static WildcardTypeName |
WildcardTypeName.supertypeOf(Type lowerBound) |
Copyright © 2019 Square, Inc.. All rights reserved.