boolean (final String[] urls, String fqn) { for (String url : urls) { VirtualFile file = VirtualFileManager.getInstance().findFileByUrl(url); if (file == null) continue; if (!(file.getFileSystem() instanceof JarFileSystem) && !file.isDirectory()) { file = JarFileSystem.getInstance().getJarRootForLocalFile(file); } if (file == null) continue; if (findInFile(file, new StringTokenizer(fqn, "."))) return true; } return false; }