Allopen, Noarg: Support transitive meta-annotations

This commit is contained in:
Yan Zhulanow
2016-12-19 15:15:13 +03:00
committed by Yan Zhulanow
parent 82dbba838a
commit f8edf51c1b
3 changed files with 46 additions and 5 deletions
@@ -2,6 +2,22 @@
@kotlin.Metadata
public annotation class AllOpen
@OtherComponent
@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class AnotherComponent
@Documented
@kotlin.Metadata
public final class ClassWithDocumented {
public method <init>(): void
}
@java.lang.annotation.Documented
@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class Documented
@AllOpen
@java.lang.annotation.Retention
@kotlin.Metadata
@@ -42,6 +58,12 @@ public class TestAllOpen_ShouldBeOpen {
public method <init>(): void
}
@AnotherComponent
@kotlin.Metadata
public class TestAnotherComponent_ShouldBeOpen {
public method <init>(): void
}
@MyComponent
@kotlin.Metadata
public class TestMyComponent_ShouldBeOpen {
@@ -50,7 +72,7 @@ public class TestMyComponent_ShouldBeOpen {
@OtherComponent
@kotlin.Metadata
public final class TestOtherComponent_ShouldBeFinal {
public class TestOtherComponent_ShouldBeOpen {
public method <init>(): void
}