void (@NotNull PsiElement element, @NotNull String newName, @NotNull MultiMap<PsiElement, @DialogMessage String> conflicts) { if (element instanceof PsiCompiledElement) return; if (element instanceof PsiField refactoredField) { if (newName.equals(refactoredField.getName())) return; ConflictsUtil.checkFieldConflicts( refactoredField.getContainingClass(), newName, conflicts ); } }