public static List<String> getLookAndFeelIdsForType(UIDefaults defaults, Class<?> clazz) {
		List<String> colorKeys = new ArrayList<>();
		List<Object> keyList = IteratorUtils.toList(defaults.keys().asIterator());
		for (Object key : keyList) {
			if (key instanceof String) {
				Object value = defaults.get(key);
				if (clazz.isInstance(value)) {
					colorKeys.add((String) key);
				}
			}
		}
		return colorKeys;
	}
Searches the given UIDefaults for ids whose value matches the given class
@param defaults the UIDefaults to search
@param clazz the value class to look for (i.e., Color, Font, or Icon)
@return the list of ids whose value is of the given class type.
Ghidra/Framework/Gui/src/main/java/generic/theme/laf/LookAndFeelManager.java