문제

I want to create dynamic java classes, I use a template to generate the source code, and then use jasper jdt to compile. But now, I want to remove the dependency for jdt and create class bytecode with ASM directly.

The source code is about 200 lines, is there any tool to help generate the byte code with ASM?

도움이 되었습니까?

해결책

You could try the ASMifier. This will generate code to re-create the byte code of any .class file. You can change this to generate byte code based on a template.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top