void (File path) { assert path.isFile(); final VirtualFile root = getEnvironment().getJarFileSystem().findFileByPath(path + "!/"); if (root == null) { throw new IllegalArgumentException("trying to add non-existing file to classpath: " + path); } addSourcesToClasspath(root); }