protected static void collectPropertiesFileVariants(@Nullable PropertiesFile file,
                                                      @Nullable String prefix,
                                                      List<Object> result,
                                                      Set<? super String> variants) {
    if (file == null) return;

    for (IProperty each : file.getProperties()) {
      String name = each.getKey();
      if (name != null) {
        if (prefix != null) name = prefix + name;

        if (variants.add(name)) {
          result.add(createLookupElement(each, name, PlatformIcons.PROPERTY_ICON));
        }
      }
    }
  }
protected static void collectPropertiesFileVariants(@Nullable PropertiesFile file,
                                                      @Nullable String prefix,
                                                      List<Object> result,
                                                      Set<? super String> variants)