private void findUsages(PsiElement element) {
        var options = new FindUsagesOptions(project);
        usageProcessor.usages.clear();
        options.isUsages = true;
        handler.processElementUsages(element, usageProcessor, options);
    }
Finds the rank profile referred (by inheritance) at the given character offset in the given profile.
integration/intellij/src/test/java/ai/vespa/intellij/findUsages/UsagesTester.java