
IntelliJ IDEA displays members with visibility not less than protected, such as public, package local, and protected ones. For example, to view protected methods, click on the diagram toolbar and select protected from the list. The lists are displayed based on the selected visibility level, which you can change. To see the list of methods, fields, and other code elements, select the appropriate icon on the diagram toolbar located on top of the diagram editor. You can press Ctrl+F12 on the element to view a list of diagram elements and navigate between them. Select VCS | Uncommitted Changes| Show Local Changes as UML Ctrl+Alt+Shift+D. You can view your VCS local changes as a diagram. IntelliJ IDEA generates a UML diagram for classes and their dependencies.

In the list that opens, select Java Class Diagram.

In the Project tool window, right-click a package for which you want to create a diagram and select Diagrams | Show Diagram Ctrl+Alt+Shift+U). Such diagrams always reflect the structure of actual classes and methods in your application. IntelliJ IDEA lets you generate a diagram on a package in your project.
