Resolve annotations on all reflected elements
Annotation in NestedEnumArgument test is made public, because we try to load annotation argument values eagerly and fail, since you can't invoke methods reflectively on an object of a non-effectively-public class
This commit is contained in:
@@ -5,7 +5,7 @@ public class NestedEnumArgument {
|
||||
FIRST
|
||||
}
|
||||
|
||||
@interface Anno {
|
||||
public @interface Anno {
|
||||
E value();
|
||||
}
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ public open class NestedEnumArgument {
|
||||
public constructor NestedEnumArgument()
|
||||
test.NestedEnumArgument.Anno(value = E.FIRST: test.NestedEnumArgument.E) public/*package*/ open fun foo(): kotlin.Unit
|
||||
|
||||
public/*package*/ final annotation class Anno : kotlin.Annotation {
|
||||
public/*package*/ constructor Anno(/*0*/ value: test.NestedEnumArgument.E)
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: test.NestedEnumArgument.E)
|
||||
public abstract fun value(): test.NestedEnumArgument.E
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user