com.github.themrmilchmann.kraton.lang.jvm / JvmMemberType

JvmMemberType

class JvmMemberType : JvmTypeReference (source)

Properties

enclosingType

val enclosingType: IJvmType

The enclosing type of this type, if any.

packageName

val packageName: String?

the name of the package of the represented type

Inherited Functions

nullable

open fun nullable(): JvmTypeReference

Returns a nullable version of this IJVMType.

Extension Functions

PARAM

fun IJvmType.PARAM(name: String, documentation: String): JavaParameter

Shortcut to create a new JavaParameter.

array

fun IJvmType.array(dim: Int = 1, nullable: Boolean = isNullable): JvmArrayType

Shortcut to create a new JvmArrayType.

asString

fun IJvmType.asString(from: JavaTopLevelType<*, *>?): String

member

fun IJvmType.member(className: String, vararg typeParameters: IJvmType, nullable: Boolean = false): JvmMemberType

Creates and returns a new IJvmType which holds a reference to a member of the receiver type.