private static <T extends ComponentProvider> T getComponentProvider(
			DockingWindowManager windowManager, Class<T> clazz) {

		T detached = getDetachedWindowProvider(clazz, windowManager);
		if (detached != null) {
			return detached;
		}

		T t = windowManager.getComponentProvider(clazz);
		return t;
	}
Searches for the first occurrence of a {@link ComponentProvider} that is an instance of
the given <code>providerClass</code>.

@param clazz The class of the ComponentProvider to locate
@return The component provider, or null if one cannot be found
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java