@Contract(pure = true)
    private boolean isThrownIn(@NotNull final PsiMethod method) {
      if (method.hasModifierProperty(ABSTRACT)) return true;
      final PsiClass containingClass = method.getContainingClass();
      if (containingClass == null) return true;

      if (JavaHighlightUtil.isSerializationRelatedMethod(method, containingClass)) return true;

      final PsiCodeBlock body = method.getBody();
      if (body == null) return true;

      UnhandledExceptions exceptions = UnhandledExceptions.ofMethod(method);
      if (exceptions.hasUnresolvedCalls()) return true;
      final Set<PsiClassType> unhandled = exceptions.exceptions();

      return ContainerUtil.exists(unhandled, myType::isAssignableFrom);
    }
@Contract(pure = true)
    private boolean isThrownIn(@NotNull final PsiMethod method)