PsiParameter (PsiMethod called, int paramIdx, PsiMethod caller) { return delegatingParams.stream() .filter(usage -> caller.equals(usage.getCallerMethod())) .map(usage -> usage.getParameterInCaller()) .findFirst() .orElse(super.getParameterInCaller(called, paramIdx, caller)); }