23 lines
376 B
Kotlin
Vendored
23 lines
376 B
Kotlin
Vendored
package test
|
|
|
|
internal class Simple {
|
|
@MyAnnotation
|
|
fun myMethod() {
|
|
// do nothing
|
|
}
|
|
|
|
fun heavyMethod(): Int {
|
|
return if (true) 5 else 6
|
|
}
|
|
}
|
|
|
|
internal annotation class MyAnnotation
|
|
|
|
internal enum class EnumClass {
|
|
BLACK, WHITE
|
|
}
|
|
|
|
|
|
internal enum class EnumClass2 private constructor(private val blah: String) {
|
|
WHITE("A"), RED("B")
|
|
} |