mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 15:51:54 +00:00
Resolve annotations on Java constructors
Also add tests on custom annotations on fields and methods
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
package test;
|
||||
|
||||
public class AnnotatedMethod {
|
||||
@Deprecated
|
||||
public static @interface Anno {
|
||||
int value();
|
||||
}
|
||||
|
||||
@Anno(42)
|
||||
public void f() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user