AccessModifier (@Nullable String modifier) { if (modifier == null) return null; switch (modifier) { case PsiModifier.PUBLIC: return PUBLIC; case PsiModifier.PROTECTED: return PROTECTED; case PsiModifier.PACKAGE_LOCAL: return PACKAGE_LOCAL; case PsiModifier.PRIVATE: return PRIVATE; default: return null; } }