How to print the directory tree of the current directory with Java?

.. for no reason!

This is the code I have:
import java.nio.file.Path;
import java.nio.file.Paths;
 
public class TestClass {
    public static void main(String[] args) {
        // get current directory and normalize
        final Path currentPath = Paths.get(".").normalize();
        final Path absolutePath = currentPath.toAbsolutePath();
        int indent = 0;
        for (Path path : absolutePath) {
            indent(indent);
            System.out.println("- " + path);
            indent += 4;
        }
    }
 
    private static void indent(int indent) {
        for (int i = 0; i < indent; i++) {
            System.out.print(" ");
        }
    }
}

And the output for me:
- Users
    - Koray Tugay
        - Development
            - _Projects
                - _idea
                    - deleteyes