class WildcardTypeName : TypeName
val inTypes: List<TypeName> |
|
val outTypes: List<TypeName> |
val annotations: List<AnnotationSpec> |
|
val isAnnotated: Boolean |
|
val isNullable: Boolean |
fun copy(nullable: Boolean, annotations: List<AnnotationSpec>): WildcardTypeName |
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun toString(): String |
fun consumerOf(inType: TypeName): WildcardTypeName
Returns a type that represents an unknown type that consumes fun consumerOf(inType: Type): WildcardTypeNamefun consumerOf(inType: KClass<*>): WildcardTypeName |
|
fun producerOf(outType: TypeName): WildcardTypeName
Returns a type that represents an unknown type that produces fun producerOf(outType: Type): WildcardTypeNamefun producerOf(outType: KClass<*>): WildcardTypeName |
fun TypeName.jvmSuppressWildcards(suppress: Boolean = true): TypeName |
|
fun TypeName.jvmWildcard(): TypeName |