Modifier and Type | Method and Description |
---|---|
WildcardTypeName |
WildcardTypeName.annotated(List<AnnotationSpec> annotations) |
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 © 2018 Square, Inc.. All rights reserved.