public static @NotNull String findPrefixByQualifiedName(@NotNull String name) {
    final int prefixEnd = name.indexOf(':');
    if (prefixEnd > 0) {
      return name.substring(0, prefixEnd);
    }
    return "";
  }
public static @NotNull String findPrefixByQualifiedName(@NotNull String name)