private static void addIfNotPresent(String modifier, PsiModifierList list, List<String> ret) {
    if (!list.hasModifierProperty(modifier)) {
      ret.add(modifier);
    }
  }
private static void addIfNotPresent(String modifier, PsiModifierList list, List<String> ret)