Deleted java files, .class file remains

one of my java files has been deleted and only the class file remains, but still functions as it did before. How can I access or recover the original java file?

Replit Profile:

Hey @Spookide and welcome to the community!

To recover a file, create another file with the exact same name as the original (this includes cases, e.g. and are two different files).