abstract class AbstractJvmType : IJvmType (source)
A reference to a java type.
open val className: String
the name of the type |
|
open val isNullable: Boolean
Whether or not the referenced type is nullable. |
|
open val packageName: String?
The name of the package in which this type is located. |
|
val typeParameters: Array<out IJvmType>? |
open val containerName: String
The class name of the outermost enclosing type. |
|
open val enclosingType: IJvmType?
The enclosing type of this type, if any. |
|
open val memberName: String
The name of this class dot prefixed with the name of it's enclosing type. |
abstract fun nullable(): IJvmType
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 JvmGenericType : AbstractJvmType
A type representing generic type. |
|
class JvmPrimitiveBoxType : AbstractJvmType
A |
|
class JvmPrimitiveType : AbstractJvmType
A |
|
open class JvmTypeReference : AbstractJvmType
A reference to a java type. |