@Nonnull
	default Stream<WorkspaceResource> allResourcesStream(boolean includeInternal) {
		List<WorkspaceResource> supportingResources = getSupportingResources();
		if (includeInternal) {
			List<WorkspaceResource> internalSupportingResources = getInternalSupportingResources();
			return Stream.of(
					Stream.of(getPrimaryResource()),
					supportingResources.stream(),
					internalSupportingResources.stream()
			).flatMap(Function.identity());
		}
		return Stream.concat(Stream.of(getPrimaryResource()), supportingResources.stream());
	}
@param includeInternal
		Flag to include internal supporting resources.

@return List of all resources in the workspace. Includes primary, supporting, and internal support resources.
recaf-core/src/main/java/software/coley/recaf/workspace/model/Workspace.java