Class Diagrams

A class diagram is a collection of classes from your Java projects selected and positioned on a canvas so you can examine their structure and relationships visually.

Uses of Class Diagrams

You would typically use a class diagram:

Your Java project will not be modified

Java source cannot be modified in any way using AgileJ StructureViews. All diagrams are simply a reflection of the existing Java elements you have in your workspace.

Association Lines

Where one type has a field whose type matches another type on the class diagram then a field line is drawn from the field to its type. Where a field is of a parameterized (template) type, then the last parameter type is assumed to be the contained type, and a field line is drawn to the contained type.

List<String> stringList; // seen by AgileJ StructureViews as type String
Map<String, Integer> integerMap; // seen by AgileJ StructureViews as type Integer
List<Map<String, Boolean>> booleanMapsList // seen by AgileJ StructureViews as type Boolean

Noe: This assumption can be overridden by implementing a custom containment filter.

 

Copyright © AgileJ Ltd. All rights reserved.