Charset (@NotNull Module module) { final Set<Charset> encodings = myModuleFileEncodings.getValue().get(module); return ContainerUtil.getFirstItem(encodings, EncodingProjectManager.getInstance(myProject).getDefaultCharset()); }