CFR will decompile modern Java features - Java 8 lambdas (pre and post Java beta 103 changes), Java 7 String switches etc, but is written entirely in Java 6. [ http://www.benf.org/other/cfr/ ].

dotPeek is not available for Mac but there is one alternative that runs on macOS with similar functionality. The best Mac alternative is CFR, which is both free and Open Source. If that doesn't work for you, our users have ranked nine alternatives to dotPeek, but unfortunately only one of them is available for Mac. If you can't find an alternative you can try to remove all filters.
CFR will decompile modern Java features - Java 8 lambdas (pre and post Java beta 103 changes), Java 7 String switches etc, but is written entirely in Java 6. [ http://www.benf.org/other/cfr/ ].

it is java tool but dotpeek is .net tool.