@SuppressWarnings({ "unchecked", "hiding" })
	public <T> T[] getListeners(Class<T> listenerType) {
		if (listenerType == AutocompletionListener.class) {
			return (T[]) getAutocompletionListeners();
		}
		return null;
	}
Get all registered listeners of the given type

@param listenerType the type of listeners to get
@return an array of registered listeners
Ghidra/Framework/Docking/src/main/java/docking/widgets/autocomplete/TextFieldAutocompleter.java