A package for the Atom editor which enables you to easily run the OPAL Java Bytecode Disassembler on your java bytecode for a one-to-one representation of the class file directly from the Atom editor.
For more information on the OPAL project, visit opal-project.de.
Install the package from Atom's package installer by searching for Java-Bytecode-Disassembler. Alternatively (or if you want to work/expand on the package), you can install the package manually by downloading/cloning this repository and following the instructions below.
Make sure you have the latest version of Atom installed. The plugin has been tested with version 1.27.2
Clone the repository to your system
git clone https://github.com/nicolas-mosch/java-bytecode-disassembler
Move into the project's folder
Link to Atom's packages
To use the package simply right-click on a .class file in the tree-view and click on Opal-Disassemble. This should open a new tab with the disassembled view. In the settings you can select whether you want to open .class files with the disassembler by default. You can also view a three-address code representation of an entire class file by clicking Show 3-Address-Code. To show the three-address code for a single method, right-click on the method name in a disassembled .class file and select the respective item.
If you encounter any problems installing the package from the atom package manager, you can try to install it via the command line using the command below.
apm install java-bytecode-disassembler
This project is licensed under the BSD 2-Clause License - see the LICENSE.md file for details
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.