// RUN_PIPELINE_TILL: FRONTEND
// FILE: KotlinFile.kt
package k

import JavaClass

fun foo(javaClass: JavaClass) {
    javaClass.somethingPublic
    javaClass.<!INVISIBLE_REFERENCE!>somethingProtected<!>
    javaClass.<!INVISIBLE_REFERENCE!>somethingPrivate<!>
    javaClass.<!INVISIBLE_REFERENCE!>somethingPackage<!>
    javaClass.<!INVISIBLE_SETTER!>somethingPublic<!> = 1
}

// FILE: JavaClass.java
public class JavaClass {
    public int getSomethingPublic() { return 1; }
    protected int getSomethingProtected() { return 1; }
    private int getSomethingPrivate() { return 1; }
    int getSomethingPackage() { return 1; }

    protected void setSomethingPublic(int value) {}
}

/* GENERATED_FIR_TAGS: assignment, functionDeclaration, integerLiteral, javaProperty, javaType */
