summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/findUsages/java/findConstructorUsages/primaryConstructorByJavaRef.0.java
blob: 2299d7b96d9207e6e4046f787a3784a5bdc6e638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PSI_ELEMENT: com.intellij.psi.PsiMethod
// OPTIONS: usages
// FIND_BY_REF
// WITH_FILE_NAME
class J extends A {
    J(int n) {
        super(n);
    }

    static void test() {
        new A();
        new <caret>A(1);
    }
}

// FIR_COMPARISON