mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
Since annotations are a part of the declaration, they must have the same visibility as the declaration in the bytecode. Otherwise obfuscators like Proguard might strip the "$annotations" method and no annotations would be found via Kotlin reflection #KT-15993 Fixed
15 lines
482 B
Plaintext
Vendored
15 lines
482 B
Plaintext
Vendored
@kotlin.annotation.Retention
|
|
@java.lang.annotation.Retention
|
|
@kotlin.Metadata
|
|
public annotation class Simple {
|
|
public abstract method value(): java.lang.String
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public final class SimpleValAnnotationKt {
|
|
private final static field foo: int
|
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
|
public synthetic deprecated static @Simple method foo$annotations(): void
|
|
public final static method getFoo(): int
|
|
}
|