Parsing Java Source Code

前端 未结 9 1781
没有蜡笔的小新
没有蜡笔的小新 2021-01-12 07:20

I am asked to develop a software which should be able to create Flow chart/ Control Flow of the input Java source code. So I started researching on it and arrived at followi

9条回答
  •  伪装坚强ぢ
    2021-01-12 07:55

    The way I would do it is to analyse compiled code. This would allow you to read jars without source and avoid parsing the code yourself. I would use Objectwebs ASM to read the class files.

提交回复
热议问题