I need to have the path from a class to a folder. Is there any method that does this?
To be more specific I need the path from MigrationGenerator to the folder migrations so that I can create a file in it
outter.output(migrationDocument, new FileWriter(filePath));
filePath
would be the path