Parameterized Type Name
Types
Functions
copy
Link copied to clipboard
fun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations.toList()): TypeName
Content copied to clipboard
open override fun copy(nullable: Boolean, annotations: List<AnnotationSpec>, tags: Map<KClass<*>, Any>): ParameterizedTypeName
Content copied to clipboard
fun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations, tags: Map<KClass<*>, Any> = this.tags, typeArguments: List<TypeName> = this.typeArguments): ParameterizedTypeName
Content copied to clipboard
nested Class
Link copied to clipboard
fun nestedClass(name: String, typeArguments: List<TypeName>): ParameterizedTypeName
Content copied to clipboard
Returns a new ParameterizedTypeName instance for the specified name as nested inside this class, with the specified typeArguments.
plus Parameter
Link copied to clipboard
tag
Link copied to clipboard
Returns the tag attached with type as a key, or null if no tag is attached with that key.
Properties
annotations
Link copied to clipboard
isAnnotated
Link copied to clipboard
isNullable
Link copied to clipboard
typeArguments
Link copied to clipboard