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
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.
typeVariable
Link copied to clipboard
fun typeVariable(name: String, vararg bounds: TypeVariableName.Bound): TypeVariableName
fun typeVariable(name: String, bounds: List<TypeVariableName.Bound>): TypeVariableName