List<Object> getServiceProviderInstances(Class<?> interfaceClass) {
		List<Object> providerInstances = new ArrayList<>();

		for (ServiceInterfaceImplementationPair myService : services) {
			if (myService.interfaceClass == interfaceClass) {
				providerInstances.add(myService.provider);
			}
		}
		return providerInstances;
	}
Returns the combination of required and non-required used services.

@return union of the lists of required and non-required used services.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/Plugin.java