Even if you could decompile it, it would likely be an unmaintainable mess compared to your original.
Instead, try looking in the __History
folder for your project. You should find older versions of your code. Pick the newest one ;-)
why would this happen?
Any number of reasons. Bug in the IDE? Bug in an IDE plugin or a custom component? Bug in your code that overwrites a source file, maybe?