public static Set<SdRankProfileDefinition> getRankProfileChildren(SdFile file, RankProfile targetProfile) {
        return PsiTreeUtil.collectElementsOfType(file, SdRankProfileDefinition.class)
                          .stream()
                          .filter(profile -> isChildOf(targetProfile, new RankProfile(profile, null)))
                          .collect(Collectors.toSet());
    }
Call Hierarchy feature utilities.

@author Shahar Ariel
@author bratseth
integration/intellij/src/main/java/ai/vespa/intellij/schema/hierarchy/SdHierarchyUtil.java