Files
kotlin-fork/compiler/testData/codegen/light-analysis/reflection/annotations/propertyWithoutBackingField.txt
T
Alexander Udalov 0db60bf6cb Do not always generate synthetic "$annotations" as private
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
2017-02-03 19:35:15 +03:00

13 lines
473 B
Plaintext
Vendored

@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class Ann {
public abstract method value(): java.lang.String
}
@kotlin.Metadata
public final class PropertyWithoutBackingFieldKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getProperty(): java.lang.String
public synthetic deprecated static @Ann method property$annotations(): void
}