public void void processFilePath(String sourceDir) {
File file = new File(eachSource);
if (file.isDirectory()) {
for (File each : file.listFiles()) {
processFilePath(each.getAbsolutePath());
}
} else if (file.getAbsolutePath().endsWith(".java")) {
System.out.println(file.getAbsolutePath());
}
}