Modifier and Type | Method and Description |
---|---|
WildcardTypeName |
WildcardTypeName.annotated(java.util.List<AnnotationSpec> annotations) |
static WildcardTypeName |
WildcardTypeName.subtypeOf(java.lang.reflect.Type upperBound) |
static WildcardTypeName |
WildcardTypeName.subtypeOf(TypeName upperBound)
Returns a type that represents an unknown type that extends
bound . |
static WildcardTypeName |
WildcardTypeName.supertypeOf(java.lang.reflect.Type lowerBound) |
static WildcardTypeName |
WildcardTypeName.supertypeOf(TypeName lowerBound)
Returns a type that represents an unknown supertype of
bound . |