@Contract(value = "null -> null", pure = true)
  public static @Nullable AccessModifier fromPsiModifier(@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;
    }
  }
@Contract(value = "null -> null", pure = true)
  public static @Nullable AccessModifier fromPsiModifier(@Nullable String modifier)