Files
kotlin/compiler/testData/codegen/bytecodeListing/annotations/JvmSynthetic.txt
Alexander Udalov a4732b442d Don't create KClass and KPackage instances in <clinit>
This proved to be a fragile technique, which probably doesn't even improve
performance in most cases but has lots of unexpected problems: unconditional
initialization of reflection classes, increasing the size of the bytecode, bugs
with <clinit> in annotations on JVM 6, inability to support conversion of a
class from Kotlin to Java without recompiling clients which use it
reflectively, etc.
2015-10-11 17:10:35 +03:00

14 lines
600 B
Plaintext
Vendored

@kotlin.jvm.internal.KotlinClass Example {
private synthetic @org.jetbrains.annotations.NotNull field prop: java.lang.String
private field prop2: int
private synthetic field useSite: int
private field useSite2: int
public @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
public synthetic method getProp2(): int
public synthetic method setProp2(p0: int): void
public method getUseSite(): int
public method getUseSite2(): int
public method setUseSite2(p0: int): void
public synthetic method job(): void
public method <init>(): void
}