This is the public repository for the CFR Java decompiler
This is the public repository for the CFR decompiler, main site hosted at benf.org/other/cfr
CFR will decompile modern Java features - including much of Java 9, 12 & 14, but is written entirely in Java 6, so will work anywhere! (FAQ) - It'll even make a decent go of turning class files from other JVM languages back into java!
To use, simply run the specific version jar, with the class name(s) you want to decompile (either as a path to a class file, or as a fully qualified classname on your classpath). (
--helpto list arguments).
Alternately, to decompile an entire jar, simply provide the jar path, and if you want to emit files (which you probably do!) add
The main site for CFR is benf.org/other/cfr, where releases are available with a bunch of rambling musings from the author.
Since 0.145, Binaries are published on github along with release tags.
You can also download CFR from your favourite maven repo, though releases are published a few days late usually, to allow for release regret.
If you have an issue, please DO NOT include copyright materials. I will have to delete your issue.