void () { JavaRefactoringSettings.getInstance().INTRODUCE_CONSTANT_VISIBILITY = PsiModifier.PRIVATE; try { doTest(null); } finally { JavaRefactoringSettings.getInstance().INTRODUCE_CONSTANT_VISIBILITY = null; } }