Is there a way to obtain the bytecode for a class at runtime?

后端 未结 2 1210
余生分开走
余生分开走 2020-12-06 01:03

In Java, is there a way (at runtime) to obtain the bytecode which defined a particular class?

Put another way, is there a way to obtain the byte[] array

2条回答
提交回复
热议问题