Use clsDelegate to calculate hasModifierProperty("final") for light psi

AllOpen plugin can make some changes and we don't have the tools to make
    correct decision based on psi

 #KT-17857 Fixed
This commit is contained in:
Pavel V. Talanov
2017-05-25 17:31:01 +03:00
parent f3f2379e5a
commit 19db4304bd
5 changed files with 84 additions and 3 deletions
@@ -0,0 +1,26 @@
// test.C
package test
annotation class AllOpen
@AllOpen
class C {
fun f() {}
fun g() {}
val p: Int
class D {
fun z() {
}
}
@AllOpen
class H {
fun j() {}
}
}
// LAZINESS:NoLaziness