// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// FILE: A.java
public @interface A {
    Class<?> arg() default Integer.class;
    int x() default 1;
    B b();
}

// FILE: B.java
public @interface B {
    Class<?> arg() default String.class;
    int y() default 2;
}

// FILE: c.kt
@A(arg = String::class, b = B(y = 1)) class MyClass1

@A(b = B(y = 3)) class MyClass2

@A(arg = String::class, b = B(arg = Boolean::class)) class MyClass3

/* GENERATED_FIR_TAGS: classDeclaration, classReference, integerLiteral, javaFunction, javaType */
