Technologies and Tools: Java, ANTLR4, PlantUML
Converting Java source code to class diagram:
- The input is converted to a Abstract Syntax Tree(AST) using ANTLR4 parser.
- The AST is parsed by the the code and an intermedite output is generated.
- This intermediate input is fed to PlantUML in a proper format to generate the class diagram.