class JvmGenericType : AbstractJvmType (source)
A type representing generic type.
Since
1.0.0
JvmGenericType(name: String, vararg bounds: IJvmType, upperBounds: Boolean = true, isNullable: Boolean = false)
A type representing generic type. |
vararg val bounds: Array<out IJvmType> |
|
val isNullable: Boolean
Whether or not the referenced type is nullable. |
|
val upperBounds: Boolean |
open val className: String
the name of the type |
|
open val packageName: String?
The name of the package in which this type is located. |
|
val typeParameters: Array<out IJvmType>? |
fun nullable(): JvmGenericType
Returns a nullable version of this |
fun IJvmType.PARAM(name: String, documentation: String): JavaParameter
Shortcut to create a new JavaParameter. |
|
fun IJvmType.array(dim: Int = 1, nullable: Boolean = isNullable): JvmArrayType
Shortcut to create a new |
|
fun IJvmType.asString(from: JavaTopLevelType<*, *>?): String |
|
fun IJvmType.member(className: String, vararg typeParameters: IJvmType, nullable: Boolean = false): JvmMemberType
Creates and returns a new |