NoArg: Add compiler plugin

This commit is contained in:
Yan Zhulanow
2016-10-05 21:43:41 +03:00
committed by Yan Zhulanow
parent 6abde4223b
commit e626b121ad
28 changed files with 659 additions and 48 deletions
@@ -0,0 +1,19 @@
@NoArg
annotation class NoArg
@NoArg
interface Intf
@NoArg
enum class Colors { RED, WHITE }
@NoArg
object Obj
class MyClass(a: Int) {
@NoArg
fun someFun() {}
@field:NoArg @get:NoArg @set:NoArg
var abc: String = ""
}