public abstract class ProjectStructureValidator
extends java.lang.Object
Constructor and Description |
---|
ProjectStructureValidator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addLibraryToDependencies(Library library,
Project project,
boolean allowEmptySelection) |
static void |
check(ProjectStructureElement element,
ProjectStructureProblemsHolder problemsHolder) |
protected boolean |
checkElement(ProjectStructureElement element,
ProjectStructureProblemsHolder problemsHolder) |
protected java.util.List<ProjectStructureElementUsage> |
getUsagesIn(ProjectStructureElement element) |
static java.util.List<ProjectStructureElementUsage> |
getUsagesInElement(ProjectStructureElement element) |
static void |
showDialogAndAddLibraryToDependencies(Library library,
Project project,
boolean allowEmptySelection) |
public static java.util.List<ProjectStructureElementUsage> getUsagesInElement(ProjectStructureElement element)
public static void check(ProjectStructureElement element, ProjectStructureProblemsHolder problemsHolder)
public static void showDialogAndAddLibraryToDependencies(Library library, Project project, boolean allowEmptySelection)
protected boolean addLibraryToDependencies(Library library, Project project, boolean allowEmptySelection)
true
if handledprotected boolean checkElement(ProjectStructureElement element, ProjectStructureProblemsHolder problemsHolder)
true
if it handled this elementprotected java.util.List<ProjectStructureElementUsage> getUsagesIn(ProjectStructureElement element)
null
when it does not handle such element