com.github.themrmilchmann.kraton.lang.java / JavaInterfaceScope / typeParameter

typeParameter

@JvmOverloads fun String.typeParameter(documentation: String? = null, vararg bounds: IJvmType): JvmGenericType (source)

Creates, registers and returns an object representing a Java type parameter.

Parameters

documentation - the documentation for the type parameter

bounds - the bounds for the type parameter

Receiver
the name for the type parameter

Return
the newly created and registered JavaGenericType object

Since
1.0.0