mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-13 15:52:11 +00:00
Fix annotations on Java elements in reflection
#KT-10840 Fixed
This commit is contained in:
11
compiler/testData/codegen/boxWithJava/reflection/annotationsOnJavaMembers/J.java
vendored
Normal file
11
compiler/testData/codegen/boxWithJava/reflection/annotationsOnJavaMembers/J.java
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@Anno("J")
|
||||
public class J {
|
||||
@Anno("foo")
|
||||
public static int foo = 42;
|
||||
|
||||
@Anno("bar")
|
||||
public static void bar() {}
|
||||
|
||||
@Anno("constructor")
|
||||
public J() {}
|
||||
}
|
||||
Reference in New Issue
Block a user