public static SettingsDefinition[] filterSettingsDefinitions(SettingsDefinition[] definitions,
			Predicate<SettingsDefinition> filter) {
		ArrayList<SettingsDefinition> list = new ArrayList<>();
		for (SettingsDefinition def : definitions) {
			if (filter.test(def)) {
				list.add(def);
			}
		}
		SettingsDefinition[] defs = new SettingsDefinition[list.size()];
		return list.toArray(defs);
	}
Get datatype settings definitions for the specified datatype exclusive of any default-use-only definitions.
@param definitions settings definitions to be filtered
@param filter callback which determines if definition should be included in returned array
@return filtered settings definitions
Ghidra/Framework/Docking/src/main/java/ghidra/docking/settings/SettingsDefinition.java