Kapt: Add runtime library, move all modules inside the 'kapt3' directory

This commit is contained in:
Yan Zhulanow
2017-11-02 11:15:15 +09:00
parent b74ef72af7
commit fd84ecda54
140 changed files with 110 additions and 58 deletions
@@ -0,0 +1,21 @@
package test.another
annotation class Anno(val value: String)
fun topLevelFunction(): String? = null
fun <X : CharSequence, T : List<out X>> topLevelGenericFunction(): T? {
return null!!
}
val topLevelProperty = 2
val topLevelProperty2: String
get() = ""
fun @receiver:Anno("rec") String.extensionFunction(@Anno("1") a: String, @Anno("2") b: String) {}
@Anno("extpr")
var <T: Any> @receiver:Anno("propRec") T.extensionProperty: String
get() = ""
set(@Anno("setparam") setParamName) {}