SourceFolder (@NotNull final VirtualFile file, boolean isTestSource, String packagePrefix) { return addSourceFolder(file, isTestSource ? JavaSourceRootType.TEST_SOURCE : JavaSourceRootType.SOURCE, JpsJavaExtensionService.getInstance().createSourceRootProperties(packagePrefix)); }