Step (PsiMethodCallExpression qualifierCall, Step terminalStep) { Step curStep = terminalStep; while (qualifierCall != null) { if (!SKIP_STEP.test(qualifierCall)) { Step nextStep = createIntermediateStep(curStep, qualifierCall); if (nextStep == null) break; curStep = nextStep; } qualifierCall = MethodCallUtils.getQualifierMethodCall(qualifierCall); } return curStep; }