TextFieldWithAutoCompletion<String> (@Nullable Project project, @NotNull Collection<String> items, @Nullable Icon icon, boolean showCompletionHint, @Nullable String text) { return new TextFieldWithAutoCompletion<>(project, new StringsCompletionProvider(items, icon), showCompletionHint, text); }