boolean (@NotNull UCallExpression node) { if (violates.get()) return SKIP_CHILDREN; if (node.getKind() == UastCallKind.METHOD_CALL) { UElement resolvedUElement = UastContextKt.toUElement(node.resolve()); if (resolvedUElement != null && isViolation(resolvedUElement)) { violates.set(Boolean.TRUE); return SKIP_CHILDREN; } } return super.visitCallExpression(node); }