ParameterizedTypeName

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val annotations: List<AnnotationSpec>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tags: Map<KClass<*>, Any>

Returns all tags.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun copy(nullable: Boolean, annotations: List<AnnotationSpec>, tags: Map<KClass<*>, Any>): ParameterizedTypeName
fun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations, tags: Map<KClass<*>, Any> = this.tags, typeArguments: List<TypeName> = this.typeArguments): ParameterizedTypeName
fun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations.toList()): TypeName
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns a new ParameterizedTypeName instance for the specified name as nested inside this class, with the specified typeArguments.

Link copied to clipboard
fun plusParameter(typeArgument: <Error class: unknown class><out <Error class: unknown class>>): ParameterizedTypeName
Link copied to clipboard
open override fun <T : Any> tag(type: KClass<T>): T?

Returns the tag attached with type as a key, or null if no tag is attached with that key.

open override fun <T : Any> tag(type: <Error class: unknown class><T>): T?

Returns the tag attached with type as a key, or null if no tag is attached with that key.

Link copied to clipboard
inline fun <T : Any> Taggable.tag(): T?

Returns the tag attached with T as a key, or null if no tag is attached with that key.

Link copied to clipboard
open override fun toString(): String