gbalats / autodisass-java-bytecode

Automatically disassemble emacs buffers containing Java bytecode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Automatically disassemble emacs buffers containing Java bytecode.


Languages

Language:Emacs Lisp 92.7%Language:Makefile 7.3%