Reflection: add KAnnotatedElement.findAnnotation
#KT-12250 Fixed
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
public final class FindAnnotationKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@Yes
|
||||
@No
|
||||
public final class Foo {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class No {
|
||||
public abstract method value(): java.lang.String
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Yes {
|
||||
public abstract method value(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user