LambdaTypeName

class LambdaTypeName : TypeName

Types

Companion
Link copied to clipboard
object Companion

Functions

copy
Link copied to clipboard
fun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations.toList()): TypeName
open override fun copy(nullable: Boolean, annotations: List<AnnotationSpec>, tags: Map<KClass<*>, Any>): LambdaTypeName
fun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations.toList(), suspending: Boolean = this.isSuspending, tags: Map<KClass<*>, Any> = this.tags.toMap()): LambdaTypeName
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
tag
Link copied to clipboard
open override fun <T : Any> tag(type: Class<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: KClass<T>): T?
Returns the tag attached with type as a key, or null if no tag is attached with that key.
toString
Link copied to clipboard
open override fun toString(): String

Properties

annotations
Link copied to clipboard
val annotations: List<AnnotationSpec>
isAnnotated
Link copied to clipboard
val isAnnotated: Boolean
isNullable
Link copied to clipboard
val isNullable: Boolean
isSuspending
Link copied to clipboard
val isSuspending: Boolean = false
parameters
Link copied to clipboard
val parameters: List<ParameterSpec>
receiver
Link copied to clipboard
val receiver: TypeName? = null
returnType
Link copied to clipboard
val returnType: TypeName
tags
Link copied to clipboard
open override val tags: Map<KClass<*>, Any>
Returns all tags.