Automatically disassemble emacs buffers containing Java bytecode.
Emacs Lisp Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Cask
Makefile
README.md
ad-javap-mode.el
autodisass-java-bytecode-pkg.el
autodisass-java-bytecode.el

README.md

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

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)