void (@NotNull PsiElement element) { super.visitElement(element); UCallExpression potentialRecursiveCall = UastContextKt.toUElement(element, UCallExpression.class); if (potentialRecursiveCall == null) return; if (!potentialRecursiveCall.isMethodNameOneOf(List.of(containingMethodName))) return; if (potentialRecursiveCall != getChildrenMethodCall && expressionResolvesToMethod(potentialRecursiveCall, containingMethod)) { isInRecursiveCall.set(Boolean.TRUE); } }