class JvmPrimitiveType : AbstractJvmType (source)
A JvmPrimitive type represents a primitive type.
JvmPrimitiveType(name: String, nullValue: String, size: Int, abbrevName: String = name) |
val abbrevName: String
a commonly used abbreviation of this type's name |
|
val box: JvmPrimitiveBoxType |
|
val isNullable: Boolean
Whether or not the referenced type is nullable. |
|
val nullValue: String
the |
|
val packageName: String
The name of the package in which this type is located. |
|
val size: Int
the size (in bytes) of this type |
open val className: String
the name of the type |
|
val typeParameters: Array<out IJvmType>? |
fun nullable(): JvmPrimitiveType
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 |