{"id":6550,"date":"2017-12-19T13:51:16","date_gmt":"2017-12-19T18:51:16","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=6550"},"modified":"2017-12-19T14:12:47","modified_gmt":"2017-12-19T19:12:47","slug":"good-java-decompiler","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2017\/12\/19\/good-java-decompiler\/","title":{"rendered":"Good java decompiler"},"content":{"rendered":"<p>I had a need to find all classes that exposed a REST based interface.  I couldn&#8217;t figure out how to do this with jd-gui, so this will be my new go-to for decompiling&#8230;<\/p>\n<p><a href=https:\/\/bitbucket.org\/mstrobel\/procyon\/wiki\/Java%20Decompiler target=_blank>https:\/\/bitbucket.org\/mstrobel\/procyon\/wiki\/Java%20Decompiler<\/a><\/p>\n<pre>\r\n$ for f in $(find . -name \"*.jar\" -type f); do \r\n    jar -xvf $f; \r\ndone\r\n$ for f in $(find . -name \"*.class\" -type f); do \r\n    java -jar procyon-decompiler-0.5.30.jar $f | grep '@Api'; \r\n    if [ $? -eq 0 ]; then \r\n      echo $f; \r\n    fi; \r\ndone\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I had a need to find all classes that exposed a REST based interface. I couldn&#8217;t figure out how to do this with jd-gui, so this will be my new go-to for decompiling&#8230; https:\/\/bitbucket.org\/mstrobel\/procyon\/wiki\/Java%20Decompiler $ for f in $(find .&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2017\/12\/19\/good-java-decompiler\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/6550"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=6550"}],"version-history":[{"count":5,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/6550\/revisions"}],"predecessor-version":[{"id":6556,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/6550\/revisions\/6556"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=6550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=6550"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=6550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}