boolean (PsiMethod overridingMethod) { if (!isVisibleFromOverridingMethod(method, overridingMethod, modifier)) { conflicts.putValue(overridingMethod, IntentionPowerPackBundle.message( "0.will.no.longer.be.visible.from.overriding.1", RefactoringUIUtil.getDescription(method, false), RefactoringUIUtil.getDescription(overridingMethod, true))); } else if (!hasCompatibleVisibility(overridingMethod, false, modifier)) { conflicts.putValue(overridingMethod, IntentionPowerPackBundle.message( "0.will.have.incompatible.access.privileges.with.overriding.1", RefactoringUIUtil.getDescription(method, false), RefactoringUIUtil.getDescription(overridingMethod, true))); } return true; }