private static int getAccessLevel(@PsiModifier.ModifierConstant String access) {
    if (PsiModifier.PRIVATE.equals(access)) return 1;
    if (PsiModifier.PACKAGE_LOCAL.equals(access)) return 2;
    if (PsiModifier.PROTECTED.equals(access)) return 3;
    return 4;
  }
private static int getAccessLevel(@PsiModifier.ModifierConstant String access)