GroovyLibraryProperties (@NotNull List<VirtualFile> classesRoots) { final VirtualFile[] libraryFiles = VfsUtilCore.toVirtualFileArray(classesRoots); if (managesLibrary(libraryFiles)) { final String version = getLibraryVersion(libraryFiles); return new GroovyLibraryProperties(version); } return null; }