public static <T> Stream<T> filterRecords(List<OmfRecord> records, Class<T> classType) {
		return records.stream()
				.filter(classType::isInstance)
				.map(classType::cast);
	}
Returns a {@link Stream} of {@link OmfRecord records} that match the given class type

@param <T> The class type
@param records The {@link List} of all {@link OmfRecord records}
@param classType The class type to match on
@return A {@link Stream} of matching (@link OmfRecord records}
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/OmfUtils.java