Bytecode Outline plugin for Eclipse

官网:http://asm.ow2.org/index.html


插件安装:

网eclipse 的 plugins 中追加下面一个文件夹和文件

de.loskutov.BytecodeOutline.update_2.4.3

de.loskutov.BytecodeOutline_2.4.3.jar


工具使用:

To see the bytecode of the current .java or .class file:

  • Window -> Show View -> Other -> Java -> Bytecode

To compare the bytecode of two .java or .class files:

  • select two *.class or *.java files -> right click -> Compare with -> Each Other Bytecode

or

  • select one *.class or *.java file -> right click -> Compare with -> Another Class Bytecode

Compare also works for *.class files included in any referenced *.jar library. Additional details can be found on author home page at http://andrei.gmxhome.de/bytecode/index.html






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
As an AI language model, I can provide an overview of the ASM bytecode outline. ASM is a popular bytecode engineering library that allows developers to modify Java bytecode at runtime. The bytecode outline includes the following components: 1. Class Structure - This component contains the class name, access flags, superclass, interfaces, fields, and methods of a Java class. 2. Constant Pool - This component is a table of constants used by the bytecode instructions. It includes items such as strings, numbers, and class references. 3. Fields - This component defines the fields of a class, including their access flags, name, type, and value. 4. Methods - This component defines the methods of a class, including their access flags, name, return type, parameters, and bytecode instructions. 5. Instructions - This component defines the bytecode instructions that make up the methods of a class. Each instruction has an opcode and may have operands. 6. Exception Tables - This component defines the exception handling mechanism of a class. It includes information about the types of exceptions that can be thrown by a method and the code that should be executed to handle them. 7. Attributes - This component provides additional information about a class, its fields, or its methods. It includes items such as source file information, debug information, and annotations. Overall, the ASM bytecode outline provides a detailed description of a Java class and its bytecode instructions, allowing developers to modify and optimize their code at runtime.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值