Files
kotlin-fork/plugins/kapt3/testData/converter/jvmStatic.kt
T
Yan Zhulanow e4158a5571 Kapt3: Number of bugfixes in JCTreeConverter:
Convert Java primitive and array types properly.
Enums: ignore first two synthetic constructor parameters, do not generate super class constructor call, add ACC_ENUM flag to enum values, do not generate "values" and "valueOf" methods.
Provide a JavaFileObject for JCCompilationUnit.
Handle DefaultImpls, ignore empty DefaultImpls classes.
Use a name table from Javac Names.
2016-12-05 19:57:30 +03:00

14 lines
202 B
Kotlin
Vendored

class JvmStaticTest {
companion object {
@JvmStatic
val one = 1
val two = 2
const val c: Char = 'C'
}
val three: Byte = 3.toByte()
val d: Char = 'D'
}