void (final UsageInfo[] usages, final ConflictsCollector collector, final String visibility) { for(UsageInfo usage: usages) { if (usage instanceof MoveRenameUsageInfo && !(usage instanceof NonCodeUsageInfo)) { PsiElement element = usage.getElement(); if (element == null || PsiTreeUtil.getParentOfType(element, PsiImportStatement.class) != null) continue; if (isInaccessibleFromTarget(element, visibility)) { collector.addConflict(collector.getClassToMove(), element); } } } }