String[] (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 ArrayUtilRt.toStringArray(separators); }