How to identify override method in Java byte code?

后端 未结 5 692
轻奢々
轻奢々 2021-01-12 18:30

I\'m now focusing on a project requiring insight of Java byte code.

With the help of bcel, I can now complete most of the work. One point that I\'m now not clear is

5条回答
  •  耶瑟儿~
    2021-01-12 18:55

    The byte code is generated after the compilation. So, it only assumes the method to be called based upon the reference variable, as the object is not yet created.

提交回复
热议问题