Kapt3: Fix a number of errors in ClassFileToSourceStubConverter:

1. Support strictfp modifier for methods.
2. Support Kotlin top-level methods and properties.
3. Fix visibility modifiers on enum methods.
This commit is contained in:
Yan Zhulanow
2016-11-01 21:59:13 +03:00
committed by Yan Zhulanow
parent e22ce14c36
commit 1f1491f1ca
17 changed files with 487 additions and 13 deletions
+9
View File
@@ -0,0 +1,9 @@
abstract class Base {
protected abstract fun doJob(job: String, delay: Int)
protected abstract fun <T : CharSequence> doJobGeneric(job: T, delay: Int)
}
class Impl : Base() {
override fun doJob(job: String, delay: Int) {}
override fun <T : CharSequence> doJobGeneric(job: T, delay: Int) {}
}