void (@Nullable String visibility) { if (PsiModifier.PUBLIC.equals(visibility)) { myRbPublic.setSelected(true); } else if (PsiModifier.PROTECTED.equals(visibility)) { myRbProtected.setSelected(true); } else if (PsiModifier.PACKAGE_LOCAL.equals(visibility)) { myRbPackageLocal.setSelected(true); } else if (PsiModifier.PRIVATE.equals(visibility)) { myRbPrivate.setSelected(true); } else if (myRbEscalate != null) { myRbEscalate.setSelected(true); } else if (myRbAsIs != null) { myRbAsIs.setSelected(true); } }