Demeter/Java examples They also serve as regression test suite. Generated Java code is in subdirectory generated. Recommended examples are: (in http://www.ccs.neu.edu/research/demeter/sources/DemeterJava/examples) j-count-inh-rels/ Count inheritance relationships in a class diagram. Shows simple traversal with one visitor. j-selectively-explore/ Shows you how to use a traversal and an exploration visitor to selectively explore an object. Allows you to test that you have the object you want. This approach can be used in any Demeter/Java program. j-check-capacity/ Check container capacity recursively. Uses nested visitors. j-check-capacity/ Check container capacity recursively using a stack. Uses nested visitors. j-DEM-drawing/ For drawing figures. From the SIGPLAN paper on DEM. j-basic-visitor Basic Visitor design pattern example (manual traversal) j-equation-system/ Finding variable usage. j-triples/ Nested visitors. j-g_print-example/ Example of a printing visitor m-gprint/ A simple programming tool to translate a class dictionary into a printing visitor for printing objects defined by the class dictionary. Has intentionally certain restrictions. m-gequal/ Translates a class dictionary into object comparison methods. j-g-displayAsTree/ Example of a tree structure display visitor. j-c-bypassing/ Shows how to bypass multiple edges. Also shows how to create objects out of nothing: the input file is empty. j-constr+alt-edges/ Shows second order visitors: visitors to traverse visitors. m-text-uml/ A translator which takes a textual class dictionary and it creates input to a drawing program to draw a visual representation for the class dictionary. j-first/ Compute inventory and cost with one traversal. j-c-holding/ j-department/ Simple summing and counting. This is file README at: http://www.ccs.neu.edu/research/demeter/sources/DemeterJava/examples