[ULC] Fix invalid annotation resolve for KtUltraLightParameterForSetterParameter

This commit is contained in:
Igor Yakovlev
2020-07-20 21:57:58 +03:00
parent db6aa9140d
commit dbb4337ac4
7 changed files with 55 additions and 6 deletions
@@ -0,0 +1,14 @@
public final class Test /* Test*/ {
@MyAnnotation5()
private java.lang.String bar;
@MyAnnotation()
@org.jetbrains.annotations.NotNull()
public final java.lang.String getBar();// getBar()
@MyAnnotation2()
public final void setBar(@MyAnnotation3() @org.jetbrains.annotations.NotNull() java.lang.String);// setBar(java.lang.String)
public Test(@MyAnnotation6() @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
}
@@ -0,0 +1,9 @@
// Test
annotation class MyAnnotation
annotation class MyAnnotation2
annotation class MyAnnotation3
annotation class MyAnnotation4
annotation class MyAnnotation5
annotation class MyAnnotation6
class Test(@get:MyAnnotation @set:MyAnnotation2 @setparam:MyAnnotation3 @property:MyAnnotation4 @field:MyAnnotation5 @param:MyAnnotation6 var bar: String)