Files
kotlin-fork/idea/testData/resolve/referenceInJava/dependencies.kt
T
2015-02-24 21:52:52 +03:00

51 lines
749 B
Kotlin

package k
import kotlin.platform.platformStatic
public class Class() {
public val prop: Int = 0
fun function() = 1
}
public enum class EnumClass {
ENTRY
}
public fun topLevelFun() {
}
public class ClassWithClassObject {
class object {
fun f() = 1
}
}
public object KotlinObject {
fun f() = 1
}
public trait StaticFieldInClassObjectInTrait {
class object {
public val XX: String = "xx"
}
}
object PlatformStaticFun {
platformStatic
fun test() {
}
}
trait TraitNoImpl {
fun foo()
}
public class TraitWithDelegatedNoImpl(f: TraitNoImpl): TraitNoImpl by f
trait TraitWithImpl {
fun foo() = 1
}
public class TraitWithDelegatedWithImpl(f: TraitWithImpl): TraitWithImpl by f