WithJvmType

@Target(allowedTargets = [AnnotationTarget.TYPE])
annotation class WithJvmType(val type: String)(source)

Adds information about according jvm type for this type.

If this annotation is applied multiple times, the last one will be used. For example:

typealias BaseClass = @WithJvmType("java.lang.Number") JObject
typealias SpecificClass = @WithJvmType("java.lang.Integer") BaseClass

Properties

Link copied to clipboard

fully qualified class name of this parameter without generics and in Java style (e.g., "java.lang.String", "int", "long[][]" etc.)