Reputation: 9478
iam planning to develope one application, which will take java byte code or class diagram or metamodel as an input and produces the source code according to package structure. But i need some suggestions like,
How to start this application, mean do there any api that convert the metamodel or byte code to source code.
Upvotes: 0
Views: 576
Reputation: 760
Not sure if BCEL is what you are looking for but it's worth taking a look.
When I personally need to decompile some java bytecode I'm using JAD.
Also when you're looking for an general introduction to java bytecode for an better understanding try the two links in the comments (I'm restricted to two links per answer so I apologize the inconvenience).
Upvotes: 0
Reputation: 9914
You can check with Jdec framework in that case.It is doing the following functionality:
Selective Decompilation of a class file
Disassembling a java class
It is open source. http://jdec.sourceforge.net/
I think it might be a good start.
Upvotes: 1