IntelliJ IDEA 14.0.0 Web Help

Dependency Validation dialog

The Dependency Validation dialog box opens when you click the settings button on the Analyzed Code toolbar of the Dependency Viewer tool window.

Use the dialog box to declare rules that describe invalid dependencies.

Item Description
Deny usages of/
Allow usages of
Drop-down menus appear on pressing the Add button to the right. Use the drop-down menus to select the usage scope pattern:
  • Deny means that the specified scope code is recognized as invalid
  • Allow means that the specified scope code is recognized as valid.
Scope pattern is defined in the Scopes dialog box, by clicking the ellipsis button.
in/ only in Drop-down menus appear on pressing the Add button to the right. Use this drop-down menu to select the usage scope pattern where the previously selected usages are to be applied. For deny it means that the Deny usages of code are invalid if used within the in scope. For allow it means that the Allow usages of code is valid only in case if it is used within the only in scope. To set the scope pattern press the ellipsis button to call the Scopes dialog box.
Add Click this button to add a line to the pattern list.
Remove Click this button to remove the selected pattern line from the list.
Move up/
Move down
Click this button to move the selected pattern line up or down in the list.
Skip import statements Select this check box to skip analyzing import statements. In this case references in the import statements are ignored.

See Also

Last modified: 4 December 2014
comments powered by Disqus