public static boolean isCatchParameter(@Nullable PsiElement element) {
    return element instanceof PsiParameter && element.getParent() instanceof PsiCatchSection;
  }
public static boolean isCatchParameter(@Nullable PsiElement element)