KtLightElements: make light annotations lazier

Allow to get annotation list and to invoke `findAnnotation` without building delegate
Introduce KtLightNullabilityAnnotation which holds nullability information and is built
    before delegate is built
This commit is contained in:
Pavel V. Talanov
2017-04-24 17:37:58 +03:00
parent 03b68666e4
commit 0571c62943
25 changed files with 411 additions and 179 deletions
@@ -0,0 +1,18 @@
public final class Annotations {
@p.R(s = "a")
@p.R(s = "b")
@p.R(s = "c")
public final void repeatables1() { /* compiled code */ }
@p.R(s = "a")
public final void repeatables2() { /* compiled code */ }
@p.R(s = "a")
@p.S(g = "b")
@p.R(s = "c")
@p.S(g = "D")
@p.R(s = "f")
public final void repeatables3() { /* compiled code */ }
public Annotations() { /* compiled code */ }
}