blob: 77d12d5e4eb6c6a8db816831c3aeca6c756a151d [file]
// FILE: module_common_annotationsGeneratedInBackend_MPP.kt
package test
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
class VerySpecificNameInCommon {
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
val x: Int
field = x
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
get
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
class Derived {
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
constructor(@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class) x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
fun foo() {
}
}
// FILE: module_main_annotationsGeneratedInBackend_MPP.kt
package test
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
class VerySpecificNameInPlatform {
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
val x: Int
field = x
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
get
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
class Derived {
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
constructor(@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class) x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
@AnnotationToAdd(booleanValue = true, byteValue = 1B, charValue = 'c', doubleValue = 4.2, floatValue = 2.4F, intValue = 42, longValue = 24L, shortValue = 7S, stringValue = "OK", vararg = [ArrayAnnotation(annotations = []), ArrayAnnotation(annotations = [SimpleAnnotation(x = 1)]), ArrayAnnotation(annotations = [SimpleAnnotation(x = 2), SimpleAnnotation(x = 3)])], kClassValue = String::class)
fun foo() {
}
}