@Override
  protected @Nullable LookupElement createMethodElement(@NotNull PsiMethod method, @NotNull PsiClass origClass) {
    JavaMethodCallElement item = new JavaMethodCallElement(method, false, false);
    item.setInferenceSubstitutorFromExpectedType(myPlace, myExpectedType);
    PsiType type = item.getType();
    if (type == null || !myExpectedType.isAssignableFrom(type)) {
      return null;
    }

    return item;
  }
@Override
  protected @Nullable LookupElement createMethodElement(@NotNull PsiMethod method, @NotNull PsiClass origClass)