Main { {{ static ClassGraph cg; public static void main(String args[]) throws Exception { cg = new ClassGraph(true, false); CSP csp = CSP.parse(System.in); List vars = cg.gather(csp, "from CSP to Variable"); System.out.println("vars" + vars); List relsDef = cg.gather(csp, "from CSP via Preamble to RelationName"); System.out.println("relsDef" + relsDef); List relsUsed = cg.gather(csp, "from CSP via Constraint to RelationName"); System.out.println("relsUsed" + relsUsed); System.out.println("done"); } }} }