String (String path) { final VirtualFile file = LocalFileSystem.getInstance().findFileByPath(path); assert file != null; VirtualFile lib = file.findChild("lib"); assert lib != null; for (VirtualFile virtualFile : lib.getChildren()) { final String version = getGradleJarVersion(virtualFile); if (version != null) { return version; } } throw new AssertionError(path); }