use of com.intellij.navigation.GotoClassContributor in project intellij-community by JetBrains.
the class GotoClassModel2 method getSeparatorsFromContributors.
public static String[] getSeparatorsFromContributors(ChooseByNameContributor[] contributors) {
final Set<String> separators = new HashSet<>();
separators.add(".");
for (ChooseByNameContributor c : contributors) {
if (c instanceof GotoClassContributor) {
ContainerUtil.addIfNotNull(separators, ((GotoClassContributor) c).getQualifiedNameSeparator());
}
}
return ArrayUtil.toStringArray(separators);
}
Aggregations