@NotNull
  @Override
  public List<PsiType[]> inferExpectedSignatures(@NotNull final PsiMethod method,
                                                 @NotNull PsiSubstitutor substitutor,
                                                 String @NotNull [] options) {
    return Collections.singletonList(ContainerUtil.map(options, value -> {
      try {
        return JavaPsiFacade.getElementFactory(method.getProject()).createTypeFromText(value, method);
      }
      catch (IncorrectOperationException e) {
        return PsiTypes.nullType();
      }
    }, new PsiType[options.length]));
  }
@NotNull
  @Override
  public List<PsiType[]> inferExpectedSignatures(@NotNull final PsiMethod method,
                                                 @NotNull PsiSubstitutor substitutor,
                                                 String @NotNull [] options)