VirtualFile[] (String home) { List<VirtualFile> result = new ArrayList<>(); appendIdeaLibrary(home, result, "junit.jar"); String plugins = home + File.separator + PLUGINS_DIR + File.separator; appendIdeaLibrary(plugins + "java", result); appendIdeaLibrary(plugins + "JavaEE", result, "javaee-impl.jar", "jpa-javax-console.jar", "jpa-jakarta-console.jar", "jpa-console-common.jar"); appendIdeaLibrary(plugins + "PersistenceSupport", result, "persistence-impl.jar"); appendIdeaLibrary(plugins + "DatabaseTools", result, "grid.jar", "grid-core.jar", "database-impl.jar", "jdbc-console.jar"); appendIdeaLibrary(plugins + "css", result, "css.jar"); appendIdeaLibrary(plugins + "uml", result, "uml-support.jar"); appendIdeaLibrary(plugins + "Spring", result, "spring.jar", "spring-el.jar", "spring-jsf.jar", "spring-persistence-integration.jar"); return VfsUtilCore.toVirtualFileArray(result); }