String () { if (myRbPublic.isSelected()) { return PsiModifier.PUBLIC; } if (myRbPackageLocal.isSelected()) { return PsiModifier.PACKAGE_LOCAL; } if (myRbProtected.isSelected()) { return PsiModifier.PROTECTED; } if (myRbPrivate.isSelected()) { return PsiModifier.PRIVATE; } if (myRbEscalate != null && myRbEscalate.isSelected()) { return VisibilityUtil.ESCALATE_VISIBILITY; } return null; }