@Test public void testAutocompleteUnsupportedType() { Type type = Type.ANSWER_ELEMENT; assertThat( AutoCompleteUtils.autoComplete("network", "snapshot", type, "blah", 5, null, null, null), equalTo(ImmutableList.of())); }
@Nonnull public static List<AutocompleteSuggestion> autoComplete( Variable.Type completionType, String query, int maxSuggestions) { return autoComplete(null, null, completionType, query, maxSuggestions, null, null, null); }
AutoCompleteUtils { @Nonnull public static List<AutocompleteSuggestion> autoComplete( Variable.Type completionType, String query, int maxSuggestions) { return autoComplete(null, null, completionType, query, maxSuggestions, null, null, null); } }
AutoCompleteUtils { @Nonnull public static List<AutocompleteSuggestion> autoComplete( Variable.Type completionType, String query, int maxSuggestions) { return autoComplete(null, null, completionType, query, maxSuggestions, null, null, null); }  }
AutoCompleteUtils { @Nonnull public static List<AutocompleteSuggestion> autoComplete( Variable.Type completionType, String query, int maxSuggestions) { return autoComplete(null, null, completionType, query, maxSuggestions, null, null, null); }  @Nonnull static List<AutocompleteSuggestion> autoComplete(
      Variable.Type completionType, String query, int maxSuggestions); @Nonnull static List<AutocompleteSuggestion> autoComplete(
      @Nullable String network,
      @Nullable String snapshot,
      Variable.Type completionType,
      String query,
      int maxSuggestions,
      @Nullable CompletionMetadata completionMetadata,
      @Nullable NodeRolesData nodeRolesData,
      @Nullable ReferenceLibrary referenceLibrary); @Nonnull static List<AutocompleteSuggestion> autoComplete(
      @Nullable String network,
      @Nullable String snapshot,
      Variable.Type completionType,
      String query,
      int maxSuggestions,
      @Nullable CompletionMetadata completionMetadata,
      @Nullable NodeRolesData nodeRolesData,
      @Nullable ReferenceLibrary referenceLibrary,
      boolean fuzzyMatching); @Nonnull static List<AutocompleteSuggestion> baseAutoComplete(
      @Nullable String query, Set<String> allProperties); @Nonnull static List<AutocompleteSuggestion> stringAutoComplete(
      @Nullable String query, Set<String> strings); @Nonnull static List<AutocompleteSuggestion> stringAutoComplete(
      @Nullable String query, Map<String, Optional<String>> stringsWithDescriptions); @Nonnull static ImmutableList<AutocompleteSuggestion> ipStringAutoComplete(
      @Nullable String query, Map<Ip, IpCompletionMetadata> ips); }
AutoCompleteUtils { @Nonnull public static List<AutocompleteSuggestion> autoComplete( Variable.Type completionType, String query, int maxSuggestions) { return autoComplete(null, null, completionType, query, maxSuggestions, null, null, null); }  @Nonnull static List<AutocompleteSuggestion> autoComplete(
      Variable.Type completionType, String query, int maxSuggestions); @Nonnull static List<AutocompleteSuggestion> autoComplete(
      @Nullable String network,
      @Nullable String snapshot,
      Variable.Type completionType,
      String query,
      int maxSuggestions,
      @Nullable CompletionMetadata completionMetadata,
      @Nullable NodeRolesData nodeRolesData,
      @Nullable ReferenceLibrary referenceLibrary); @Nonnull static List<AutocompleteSuggestion> autoComplete(
      @Nullable String network,
      @Nullable String snapshot,
      Variable.Type completionType,
      String query,
      int maxSuggestions,
      @Nullable CompletionMetadata completionMetadata,
      @Nullable NodeRolesData nodeRolesData,
      @Nullable ReferenceLibrary referenceLibrary,
      boolean fuzzyMatching); @Nonnull static List<AutocompleteSuggestion> baseAutoComplete(
      @Nullable String query, Set<String> allProperties); @Nonnull static List<AutocompleteSuggestion> stringAutoComplete(
      @Nullable String query, Set<String> strings); @Nonnull static List<AutocompleteSuggestion> stringAutoComplete(
      @Nullable String query, Map<String, Optional<String>> stringsWithDescriptions); @Nonnull static ImmutableList<AutocompleteSuggestion> ipStringAutoComplete(
      @Nullable String query, Map<Ip, IpCompletionMetadata> ips);  }