How to identify override method in Java byte code?

后端 未结 5 658
轻奢々
轻奢々 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 19:08

    If you can't rely on the @Override attribute then it seems that according to the spec there is no other way to know by looking just at the class. I think you need to look at the superclasses.

提交回复
热议问题