constructing a parse tree/ AST from java byte code
bytecode, java, parsing, programming-languages
Solution
You no longer have a syntax tree once it's compiled down to bytecode. If you're trying to build a Java syntax tree out of bytecode, then you're really trying to write a decompiler.
(Bytecode itself isn't so much a tree as just a sequence of instructions; it's not really tree-shaped in the way that you'd expect an AST to be.)
Problem
are there any ways or libraries available that can be used to build a parse tree from java byte code? My actual goal is to create an AST. I know there are libraries available for building AST from source codes, just want to know ways to build the AST from byte code only.