@Override
      public Boolean weigh(@NotNull LookupElement element, @NotNull WeighingContext context) {
        PsiElement psi = element.getPsiElement();
        return psi instanceof PsiMethod && previousChainCalls.getInt(psi) == 1;
      }
@Override
      public Boolean weigh(@NotNull LookupElement element, @NotNull WeighingContext context)