private static int getAccessNumber(String modifier) {
    return switch (modifier) {
      case PsiModifier.PRIVATE -> 0;
      case PsiModifier.PACKAGE_LOCAL -> 1;
      case PsiModifier.PROTECTED -> 2;
      case PsiModifier.PUBLIC -> 3;
      default -> -1;
    };
  }
private static int getAccessNumber(String modifier)