boolean (@NotNull MethodContext context) { if (!isInStandardLibrary(context.getElement())) return false; for (PsiClassType throwType : context.getElement().getThrowsList().getReferencedTypes()) { PsiClass resolvedExceptionClass = throwType.resolve(); if (resolvedExceptionClass == null) continue; for (String exceptionFqn : BLOCKING_EXCEPTION_TYPES) { if (isBlockingException(resolvedExceptionClass, exceptionFqn)) { return true; } } } return false; }