Removed half-baked java source code parser.
[javainspect.git] / usage examples / demo project / src / main / java / eu / svjatoslav / inspector / java / structure / example / RenderUsingReflection.java
1 /*
2  * JavaInspect - Utility to visualize java software
3  * Copyright (C) 2013-2020, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of version 3 of the GNU Lesser General Public License
7  * or later as published by the Free Software Foundation.
8  */
9
10 package eu.svjatoslav.inspector.java.structure.example;
11
12 import eu.svjatoslav.inspector.java.structure.ClassGraph;
13 import eu.svjatoslav.inspector.java.structure.example.torender.SampleClass;
14 import eu.svjatoslav.inspector.java.structure.example.torender.SampleClass2;
15
16 public class RenderUsingReflection {
17
18     /**
19      * If you run this method using IDE, then example.svg file shall appear in project root directory.
20      */
21     public static void main(final String[] args) {
22
23         new ClassGraph().add(SampleClass.class, SampleClass2.class)
24                 .generateGraph("example");
25     }
26
27 }