e4158a5571
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.
15 lines
225 B
Kotlin
Vendored
15 lines
225 B
Kotlin
Vendored
interface IntfWithoutDefaultImpls
|
|
|
|
interface IntfWithDefaultImpls {
|
|
fun a() {}
|
|
}
|
|
|
|
interface Intf {
|
|
companion object {
|
|
val BLACK = 1
|
|
const val WHITE = 2
|
|
}
|
|
|
|
val color: Int
|
|
get() = BLACK
|
|
} |