protected List<String> packImports() {
    return mapSimpleNames.entrySet().stream()
      .filter(this::keepImport)
      .sorted(Map.Entry.<String, String>comparingByValue().thenComparing(Map.Entry.comparingByKey()))
      .map(ent -> ent.getValue() + "." + ent.getKey())
      .collect(Collectors.toList());
  }
Check whether the package-less name ClassName is shaded by variable in a context of
the decompiled class
@param classToName - pkg.name.ClassName - class to find shortname for
@return ClassName if the name is not shaded by local field, pkg.name.ClassName otherwise
src/org/jetbrains/java/decompiler/main/collectors/ImportCollector.java