void (@NotNull PsiMethodCallExpression expression) { if (cloneCalled) return; super.visitMethodCallExpression(expression); if (!CloneUtils.isCallToClone(expression)) { return; } final PsiReferenceExpression methodExpression = expression.getMethodExpression(); final PsiExpression qualifier = methodExpression.getQualifierExpression(); if (qualifier == null || qualifier instanceof PsiThisExpression || qualifier instanceof PsiSuperExpression) { cloneCalled = true; stopWalking(); } }