mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
AllOpen: Add IDE integration
This commit is contained in:
committed by
Yan Zhulanow
parent
4d638c2cfd
commit
6abde4223b
28
plugins/allopen/allopen-cli/testData/bytecodeListing/superClassAnnotation.kt
vendored
Normal file
28
plugins/allopen/allopen-cli/testData/bytecodeListing/superClassAnnotation.kt
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
annotation class AllOpen
|
||||
|
||||
@AllOpen
|
||||
abstract class Base_ShouldBeOpen {
|
||||
fun baseMethod() {}
|
||||
}
|
||||
|
||||
open class BaseImpl : Base_ShouldBeOpen() {
|
||||
fun baseImplMethod_ShouldBeOpen() {}
|
||||
}
|
||||
|
||||
class BaseImpl2_ShouldBeOpen : BaseImpl() {
|
||||
fun baseImpl2Method_ShouldBeOpen() {}
|
||||
val baseImpl2Property_ShouldBeOpen = ""
|
||||
}
|
||||
|
||||
@AllOpen
|
||||
interface Intf {
|
||||
fun intfMethod() {}
|
||||
}
|
||||
|
||||
open class IntfImpl : Intf {
|
||||
fun intfImplMethod_ShouldBeOpen() {}
|
||||
}
|
||||
|
||||
class IntfImpl2_ShouldBeOpen : IntfImpl() {
|
||||
fun intfImpl2Method_ShouldBeOpen() {}
|
||||
}
|
||||
Reference in New Issue
Block a user