最終更新:2018-11-13 (火) 16:22:09 (312d)  

javap はてなブックマークを見る
Top / javap

Javaクラスファイル逆アセンブラ

http://docs.oracle.com/javase/jp/6/technotes/tools/windows/javap.html

クラスファイルを人間が読み取れる形式に変換することができる

$ javap -help
Usage: javap <options> <classes>...

where options include:
   -c                        Disassemble the code
   -classpath <pathlist>     Specify where to find user class files
   -extdirs <dirs>           Override location of installed extensions
   -help                     Print this usage message
   -J<flag>                  Pass <flag> directly to the runtime system
   -l                        Print line number and local variable tables
   -public                   Show only public classes and members
   -protected                Show protected/public classes and members
   -package                  Show package/protected/public classes
                             and members (default)
   -private                  Show all classes and members
   -s                        Print internal type signatures
   -bootclasspath <pathlist> Override location of class files loaded
                             by the bootstrap class loader
   -verbose                  Print stack size, number of locals and args for methods
                             If verifying, print reasons for failure

JNI/シグネチャ

  • javap -s path/to/.class

参考