The class file (bytecode) only contains the source file name, not a path to it unfortunately. I was hoping to get some kind of functionality like in C#, where a StackTraceElement has a property with the path of the source file (if it was built with debug symbols in the bytecode) 😕