Companion

object Companion

Functions

bound
Link copied to clipboard
fun bound(type: TypeName): TypeVariableName.Bound
fun bound(name: String): TypeVariableName.Bound
fun bound(constraint: TypeVariableName.Bound.Constraint, typeName: TypeName): TypeVariableName.Bound
fun bound(constraint: TypeVariableName.Bound.Constraint, name: String): TypeVariableName.Bound
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
invoke
Link copied to clipboard
@JvmName(name = "get")
operator fun invoke(name: String): TypeVariableName
Returns type variable named name with variance and without bounds.
@JvmName(name = "get")
operator fun invoke(name: String, vararg bounds: TypeVariableName.Bound): TypeVariableName
Returns type variable named name with variance and bounds.
toString
Link copied to clipboard
open fun toString(): String
typeVariable
Link copied to clipboard
fun typeVariable(name: String, vararg bounds: TypeVariableName.Bound): TypeVariableName
fun typeVariable(name: String, bounds: List<TypeVariableName.Bound>): TypeVariableName