open class JvmTypeReference : AbstractJvmType (source)
A reference to a java type.
nullable - whether or not the referenced type is nullable
JvmTypeReference(className: String, packageName: String?, vararg typeParameters: IJvmType, nullable: Boolean = false)
A reference to a java type. |
open val packageName: String?
the name of the package of the represented type |
open val className: String
the name of the type |
|
open val isNullable: Boolean
Whether or not the referenced type is nullable. |
|
val typeParameters: Array<out IJvmType>? |
open fun nullable(): JvmTypeReference
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 |
class JvmMemberType : JvmTypeReference |