@Override
		protected void containmentSearch(@Nonnull String search, @Nonnull List<T> results) {
			// Modify the text/search for case-insensitive searches.
			Function<T, String> localValueTextMapper;
			if (!caseSensitivity.get()) {
				search = search.toLowerCase();
				localValueTextMapper = valueTextMapper.andThen(String::toLowerCase);
			} else {
				localValueTextMapper = valueTextMapper;
			}

			String finalSearch = search;
			valueProvider.get().forEach(item -> {
				String text = localValueTextMapper.apply(item);
				if (text == null)
					return;
				if (text.contains(finalSearch))
					results.add(item);
			});
		}
Search bar implementation where we match against the content of {@code <T>} directly.

@param <T>
		Input/result type.
recaf-ui/src/main/java/software/coley/recaf/ui/window/QuickNavWindow.java