Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Simple.kt
T
2017-12-01 22:53:19 +09:00

33 lines
478 B
Kotlin
Vendored

package test
/**
* KDoc comment.
*/
@Suppress("UNRESOLVED_REFERENCE")
internal class Simple {
@MyAnnotation
fun myMethod() {
// do nothing
}
fun heavyMethod(): Int {
return if (true) 5 else 6
}
}
/*
Multi
line
comment
*/
internal annotation class MyAnnotation
// Small comment
internal enum class EnumClass {
BLACK, WHITE
}
internal enum class EnumClass2 private constructor(private val blah: String) {
WHITE("A"), RED("B")
}