autodisass-java-bytecode

https://github.com/gbalats/autodisass-java-bytecode.git

git clone 'git://github.com/gbalats/autodisass-java-bytecode.git'
2

License GPL 3 MELPA MELPA Stable

autodisass-java-bytecode

This package enables the automatic disassembly of Java bytecode inside Emacs buffers. It was inspired by a blog post of Christopher Wellons.

Disassembly can happen in two cases:

  1. when opening a Java .class file
  2. when extracting a .class file inside a jar

When javap-mode is available, it is automatically selected for the current Java bytecode-containing buffer.

In any case, javap must be installed in the system for this extension to have any effect, since that is the tool that actually performs the disassembly.

Installation

You can install this package using the package.el built-in package manager in Emacs. It is available on MELPA and MELPA Stable repos.

If you have these enabled, simply run:

M-x package-install [RET] autodisass-java-bytecode [RET]

Alternatively, you can save this .el file to a directory in your load-path, and add the following to your .emacs:

(require 'autodisass-java-bytecode)