Lines Matching refs:path
76 // Paths: com.sun.tools.javac.file.Paths -- legacy javac type for handling path options
100 * <p>To reduce confusion with Path objects, the locations such as "class path",
101 * "source path", etc, are generically referred to here as "search paths".
159 Iterable<? extends Path> path = getLocation(location);
160 if (path == null)
163 for (Path p: path) {
188 PathsForLocation path = pathsForLocation.get(location);
189 if (path == null && !pathsForLocation.containsKey(location)) {
191 path = pathsForLocation.get(location);
193 return path;
213 pl.add(p); // TODO -Xlint:path warn if path not found
221 throw new IllegalArgumentException("empty path for directory");
222 Path path = pathIter.next();
224 throw new IllegalArgumentException("path too long for directory");
225 if (!isDirectory(path))
226 throw new IOException(path + ": not a directory");
317 for (Path path : paths)
318 list(path, packageName, kinds, recurse, results);
323 private void list(Path path, String packageName, final Set<Kind> kinds,
326 if (!Files.exists(path))
330 if (isDirectory(path))
331 pathDir = path;
333 FileSystem fs = getFileSystem(path);
338 String sep = path.getFileSystem().getSeparator();
489 // Need to match the path semantics of list(location, ...)
529 private static boolean isDirectory(Path path) throws IOException {
530 BasicFileAttributes attrs = Files.readAttributes(path, BasicFileAttributes.class);