UAST: Properly handle annotations on local variables

This commit is contained in:
Vyacheslav Gerasimov
2017-07-13 22:42:49 +03:00
committed by Nikolay Krasko
parent 35fa8efbf3
commit 8eddb10870
16 changed files with 50 additions and 25 deletions
@@ -1,7 +1,7 @@
public final class TestPropertyInitializer {
private var withSetter: java.lang.String = "/sdcard"
@org.jetbrains.annotations.NotNull private var withSetter: java.lang.String = "/sdcard"
public final fun getWithSetter() : java.lang.String = field
public final fun setWithSetter(p: java.lang.String) : void {
public final fun setWithSetter(@org.jetbrains.annotations.NotNull p: java.lang.String) : void {
field = p
}
public fun TestPropertyInitializer() = UastEmptyExpression