void (UMethod method) { if (method == null || !method.isConstructor()) return; var element = method.getSourcePsi(); if (element == null) return; var anchor = method.getUastAnchor(); if (anchor == null) return; var elementToHighlight = anchor.getSourcePsi(); if (elementToHighlight == null) return; if (!(method.getUastParent() instanceof UClass containingClass)) return; if (containingClass.getJavaPsi().getSuperClass() == null) return; if (!(method.getUastBody() instanceof UBlockExpression body)) return; var firstExpression = ContainerUtil.getFirstItem(body.getExpressions()); if (firstExpression != null && isExplicitSuperCall(firstExpression)) return; ContextType contextType = isContextNonBlockingFor(element, myNonBlockingContextCheckers, mySettings); if (contextType instanceof ContextType.Blocking) { return; } if (!(contextType instanceof ContextType.NonBlocking nonBlockingContext)) return; var implicitlyCalledCtr = findFirstExplicitNoArgConstructor(containingClass.getJavaPsi().getSuperClass()); if (implicitlyCalledCtr == null) return; if (!isMethodBlocking(implicitlyCalledCtr, myBlockingMethodCheckers, mySettings)) return; String message; if (StringUtil.isNotEmpty(nonBlockingContext.getDescription())) { String contextDescription = nonBlockingContext.getDescription(); message = JvmAnalysisBundle.message("jvm.inspections.blocking.method.in.implicit.ctr.problem.wildcard.descriptor", contextDescription); } else { message = JvmAnalysisBundle.message("jvm.inspections.blocking.method.in.implicit.ctr.problem.descriptor"); } myHolder.registerProblem(elementToHighlight, message); }