PropertiesFile (@NotNull Project project, @NonNls @NotNull String text) { @NonNls String filename = "dummy." + PropertiesFileType.INSTANCE.getDefaultExtension(); return (PropertiesFile)PsiFileFactory.getInstance(project) .createFileFromText(filename, PropertiesFileType.INSTANCE, text); }