@Nullable
  public static PsiElement findModifierInList(@NotNull PsiModifierList modifierList, String modifier) {
    PsiElement[] children = modifierList.getChildren();
    for (PsiElement child : children) {
      if (child.getText().equals(modifier)) return child;
    }
    return null;
  }
@Nullable
  public static PsiElement findModifierInList(@NotNull PsiModifierList modifierList, String modifier)