Analyze Dependencies Ư¡�� ��ſ��� ����� ��� �ִ� �ڵ尡 ������ �����ϴ����� �˱� ���� ���ɼ��� �ݴϴ�. ���� Ư���� ���̾�α� ����� �������� ����� ��Ÿ���� �׸��� ���͸� �� �� �ֽ��ϴ�.
Analyze Dependencies �� ���̾�α׸� �θ��� ����, �� �޴����� Analyze
Dependencies �����Ͻʽÿ�. �Ǵ� �ʿ��� �׸�(Ŭ����, ��Ű��, ��)�� ������ ��ư�� Ŭ���ϰ� �����Ϳ��� Analyze |
Analyze Dependencies �� �����ϰ�, Project
View�� Project �� Packages �� �Ǵ� J2EE �� ( Project View )
�Ǵ� Commander�� Analyze Dependencies �����ϴ� �Ϳ� ���� �ҷ����� ���� ���� �޴��κ��� ����� �װ��� ������ �� �ֽ��ϴ�.
���� ����� ������ �Ǵ� ����(�޴��� � �Ϳ���) ������ Analyze Dependencies�� �θ��� ��ſ��� Specify Dependency
Analysis Scope ���̾�αװ� ������Ʈ �� �� �Դϴ�. ����� ������ ����(����Ʈ)�� ��ü ������Ʈ�� �м��ϰ� �;��ϴ����� �����ϱ�(�����ϴ� �ɼ� ��ư�� ���Ҿ�) ���� ���˴ϴ�.

�� ���� Dependency Viewer �� �����찡 ��Ÿ���ϴ�.

|
IntelliJ IDEA�� �� �����쿡�� �Ϲ� ������ ���� �� ������ ������ �����Ͻʽÿ�.
|

�� ������� 3���� ������� �����˴ϴ�. ���� ����� ������(Analyzed
Code Window)�� Ʈ�� ����μ� ����� ������Ʈ ������ ǥ���մϴ�. �ٸ� ��� Ŭ����(������Ʈ, ���̺귯�� �Ǵ� �ڹ� SDK��)�� �����ϴ� Java ������ �����ϴ� ���� �׸� ���õ� Java ��� ������ ���� ������ ������(Parent
Code Window)���� �����ϴ� ���� �����ݴϴ�. ���� �����쿡�� �׸��� �����ϴ� ���� �� �Ʒ� ������(Usage
Window)���� �м��� ������(���� ������) �ڵ忡�� �θ��� (���� ������)�ڵ��� ��� ����� ǥ���մϴ�.
Usage Window�� Find
tool window�� ������ ���ٿ� ���� �޴��� ������ �ֽ��ϴ�.
Dependency Viewer �� ������� ���� ��ư�� �Բ� ���ٸ� �����ϴ�:
Close
|

|
Ctrl + Shift + F4
|
�� �����츦 �����ʽÿ�.
|
Rerun
|

|
Ctrl + F5
|
���� ���� �ؼ����� ����� �Ͻʽÿ�.
|
Flatten Packages
|

|
|
��ư�� ���� ��, ��� ��Ű���� �ϳ��� ���� Ʈ�� ����μ� ǥ�õ˴ϴ�. ����, ���� ����� ��Ű���� ����� ������Ʈ ������ ���� � ���̶��, �װ��� �ǿ��� �߰��ϱ� ���� ���� ��� �� �̸��� �߰��ϴ� ���� ��ü Ʈ�� ������ ������ ���� �ʿ����� �ʽ��ϴ�.
|
Show Files
|

|
|
���� ��, Analyzed Code
Window�� Parent
Code Window �� ������ ���Դϴ�.
|
Show Modules
|

|
|
���� ��, Ʈ�� ������ �׸��� �����ϴ� ��� ��� �Ʒ����� ��Ÿ���ϴ�.
�׷��� ������, ������Ʈ �׸��� �����ϴ� ��Ű��(��Ű���� ���Ҿ� sourcepath�� ����) �Ʒ����� ��Ÿ���ϴ�.

|
Modules �� ����� ����� �� ���� ��� �߿� �� ��Ű�� ������ ������ ���� �����ϰ� �մϴ�.
�׸��� ��Ÿ���� ��� ���� ����� �װ��� �߰��� �� �����ϴ�.
|
|
Group by Scope Type
|

|
|
���� ��, Ʈ���� �׸��� �׵��� ���� Ÿ��, �� ����, ���� �Ǵ� ���̺귯���� �ǰ��Ͽ� ��Ÿ���ϴ�.
|
Show Illegals
Only
|

|
|
���� ��, �ҹ����̰� ��ȿ�� ���Ӽ����� ǥ���մϴ�.
|
Edit Rules
|

|
|
Call the Dependency
Validation dialog allowing you to set valid
dependencies for analysis.
���Ӽ� Ȯ�� ���̾�α׸� �θ��� ������� �Ͽ��� �м��� ���� ��ȿ�� ���Ӽ��� �����ϵ��� ����մϴ�.
|
|
���Ӽ��� �м��ϸ� ����� �׵��� �Ϻθ� ������ �ʿ䰡 ���� �� �ֽ��ϴ�. �ٸ� ���� �ϸ�, ����� ������Ʈ �м��� ���� ��ȿ�ϰ� ��ȿ�� ���Ӽ��� �����ϱ� ���ؼ�. Dependency
Validation ���̾�α״� ��ſ��� �׷� ��ȿ�� ���Ӽ��� ����ϰ� �ִ� ��Ģ�� �����ϴ� ���� ����մϴ�.

���̾�α״� ��Ģ ��ϰ� �� ���� ��ư�� �Բ� �гη� �����˴ϴ�.
Deny usages of
|
���-�ٿ� �޴��� ����� ��� ���� ������ ������(��ȿ�μ�) ������ �����ϴ� ���� �����ϰ� �մϴ�. ���� ������ �����ϱ� ���� ellipsis ������ ���� ���� ���̾�α׸� �θ��ʽÿ�.
|
in
|
The drop-down menu enables you to select the usage
scope pattern where the previously selected usages are to be omitted. To
set the scope pattern press the ellipsis button to call the Edit
Scopes dialog.
���-�ٿ� �޴��� ����� ������ ���õ� ����� ������ ��� ���� ������ �����ϴ� ���� �����ϰ� �մϴ�.
���� ������ �����ϱ� ���� ellipsis ������ ���� ���� ���̾�α׸� �θ��ʽÿ�.
|
|
Add Rule�� ���� ������� �� �ٸ� ������ �߰��մϴ�.
Remove Rule �� ����� ��Ͽ��� �����ߴ� ��Ģ ����� �����ϵ��� ����մϴ�.
Move up/Move down �� ����� ���õ� ���� ������ �� �Ʒ��� �����̱� �մϴ�.
���Ӽ� Ȯ�� ��� ����
|
Dependency Validation ������ ���� ���� �ؼ����� ���õǴ� ������Ʈ ������ �����ϱ� ���� ���˴ϴ�.
�ֿ� ��Ģ�� ������ �����ϴ�: "Deny usages
of <Set A> in <Set B>" <Set A>�� <Set B> �� ����� ������Ʈ���� �������� � Ŭ������ ��Ʈ�� �ִ� ���Դϴ�.
�̱� Ŭ���� ��Ʈ:
���� �ܼ��� ��Ʈ�� Ŭ���� �̸��� �ܼ��� ������ �� �Դϴ�. ��
<com.intellij.OpenApi.MyClass> .
���� ��Ű���� �ƴ� ��Ű���� ��� Ŭ������ ��Ʈ:
��Ʈ(.)�Ŀ� ��ǥ(*)�� ����Ͽ� ����� ���� ��Ű���� ������ ��Ű������ ��� Ŭ������ ��Ʈ�� �����մϴ�. �� <com.intellij.OpenApi.*> .
������Ű������ �Ӹ� �ƴ϶� ��Ű������ ��� Ŭ������ ��Ʈ:
���� ��Ʈ(..)�Ŀ� ��ǥ(*)�� ����Ͽ� ����� ������Ű������ �Ӹ� �ƴ϶� ��Ű������ ��� Ŭ������ ��Ʈ�� �����մϴ�. �� <com.intellij.OpenApi..*> .
��Ʈ�� �����ϱ� ���Ͽ� �� ���� �����ڰ� �ֽ��ϴ�.
��ġ ������:
You can specify whether the desired set is located in source files, library classes
or test code in the form of src :< E> , lib:<E> and test:<E> where
<E> is the target set.
����� ���ϴ� ��Ʈ�� �ҽ� ����, ���̺귯�� Ŭ���� �Ǵ� src :< E> , lib:<E> and test:<E> where
<E> is the target set �� ���� �׽�Ʈ �ڵ尡 ��ġ�� ������ ��� ������ �� �ֽ��ϴ�. ���� ���, <src : com.intellij.OpenApi.*> �� ���� ��Ű���� ������ com.intellij.OpenApi ��Ű���� �ҽ� ���� �Ʒ��� ��� Ŭ������ �����մϴ� .
��� ������:
You can specify the desired set even further with a module in your source,
library or test classes.
����� ������ �� ���ư� ����� �ҽ�, ���̺귯�� �Ǵ� �׽�Ʈ Ŭ������ ���� �Բ� ���ϴ� ��Ʈ�� ������ �� �ֽ��ϴ�.
�װ��� ������ ���� ���� �� �Դϴ�: src [MyJavaModule]:<E> , lib[MyJavaModule]:<E> and test[MyJavaModule]:<E> where <E> is
the target set. ���� ���, <src[MyJavaModule] : com.intellij.OpenApi.*> �� ���� ��Ű���� ������ com.intellij.OpenApi ��Ű���� MyJavaModule ��⿡ ���õ� �ҽ� ���� �Ʒ��� ��� Ŭ������ �����մϴ� .
������ ���۷�����:
���� ������� �Ͽ��� AND
(&&) , OR (||) �׸��� NOT(!) �� ���� ���� ������ �����ڸ� ����ϵ��� ����մϴ�.
|