Do not use parameter descriptors in most annotation implementations

Except AnnotationDescriptorImpl, which is refactored in the subsequent
commit.

Note that we no longer check the presence of parameters with the
corresponding names in the annotation class in
LazyJavaAnnotationDescriptor, this is why test data changed
This commit is contained in:
Alexander Udalov
2017-07-04 16:27:06 +03:00
parent cc7ed2ba54
commit eb205f620c
9 changed files with 53 additions and 91 deletions
@@ -5,7 +5,7 @@ public fun bar(): @test.Ann kotlin.String
public interface Ann {
}
@test.Ann public final class Test {
@test.Ann(s = "class") public final class Test {
public constructor Test()
@test.Ann public final fun foo(/*0*/ @test.Ann s: @test.Ann kotlin.String): @test.Ann kotlin.String
@test.Ann(s = "function") public final fun foo(/*0*/ @test.Ann(s = "parameter") s: @test.Ann kotlin.String): @test.Ann kotlin.String
}