java 修改字节码_Java 字节码查看与修改

JBE requires Java 1.5 to run.--JBE需要java1.5的环境运行,貌似我的1.7也可以哦!

It uses the standard mnemonics for JVM opcodes as instruction names. Jumps are absolute, labels are shown as line numbers. The cases/targets of tableswitch and lookupswitch instructions should be preceded by a tab or a space.--它用了jvm标准的操作码助记符名称。跳跃是绝对的,标签显示为行号。例如tableswitch和lookupswitch目标指令前面是一个Tab制表符或者一个空格space。

Class names should be written using the Java class file format conventions, so java.lang.String becomes java/lang/String—类名按照java类文件格式惯例,所以java.lang.String类就变成了java/lang/String。

Type information is also written as they appear in class files (e.g. the descriptor I speficies an integer, [Ljava/lang/Thread; is an array of Threads, etc.).-->类型信息按照他们在类文件中样子写出来。例如描述给I变量指定为整型integer,[Ljava/lang/Thread是一个线程的数组等等。

To add a constant, method, interface or field, select the appropriate section in the left pane. A form for adding the appropriate attribute is displayed on the main pane.--> 选择软件左边面板中合适的章节可以添加常量,方法,接口或者字段。主面板显示了添加合适属性的表格。

To remove a constant, method, interface or a field, select it in the left pane. A delete button appears on the main pane.—>选中左边面板中的常量,方接口或者字段,主面板中出现一个删除按钮,可以删除他们。

To add or remove an exception select the method's exception table tab. There, a form is included for adding an exception. An exception can be removed via the delete button.-->想要添加或者移除一个异常,选中方法异常表标签,然后出现一个可以添加异常的表格。一个异常可以通过点击删除按钮的方法移除。

There is no global save, all changes are directly applied to the class file after adding/deleting/modifying attributes. To return to the original file, select the appropariate menu item or button ("Revert to original class file").-->没有全局的保存,在添加/删除/修改属性后,所有的改变直接应用到class文件。选中合适的菜单项或者按钮, 返回原始的文件。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值