@Nullable
    private static PsiMethod getReferencedMethod(@NotNull JavaResolveResult resolveResult) {
      PsiMethod psiMethod = (PsiMethod)resolveResult.getElement();
      PsiMethod methodToUseInstead = psiMethod == null ? null : psiMethod.getUserData(LightMethodObjectExtractedData.REFERENCE_METHOD);
      if (methodToUseInstead != null) {
        psiMethod = methodToUseInstead;
      }

      return psiMethod;
    }
@Nullable
    private static PsiMethod getReferencedMethod(@NotNull JavaResolveResult resolveResult)