Lines Matching defs:dir
271 public FileVisitResult postVisitDirectory(Path dir, IOException e) throws IOException {
275 if (!dir.equals(root)) {
276 Files.delete(dir);
419 Path dir = path.getParent();
420 if (dir != null)
421 Files.createDirectories(dir);
432 * <p>For example, if the base directory is /my/dir/ and the content
434 * /my/dir/p/C.java.
438 * @param dir the base directory
442 public void writeJavaFiles(Path dir, String... contents) throws IOException {
446 new JavaSource(c).write(dir);
511 * @param dir the directory
514 public void write(Path dir) throws IOException {
515 Path file = dir.resolve(getJavaFileNameFromSource(source));