Files
kotlin-fork/idea/idea-completion/testData/injava/mockLib/defaultImpls/defaultImpls.kt
T
Alexander Podkhalyuzin 812d3d9ce6 Fixed testdata to have the same package/file structure, otherwise it
will not work with Java 9.
2018-10-25 11:16:37 +03:00

30 lines
386 B
Kotlin
Vendored

package defaultImpls;
interface AllAbstract {
val c: Int
fun <T> f(t: T): T
val g: Int
var g2: String
}
interface NonAbstractFun {
fun f() {
}
}
interface NonAbstractFunWithExpressionBody {
fun f() = 3
}
interface NonAbstractProperty {
val c: Int get() = 3
}
interface NonAbstractPropertyWithBody {
val c: Int get() {
return 3
}
}