private void prefillReferencedClasses(@Nonnull Workspace workspace, @Nonnull EntryPool pool, @Nonnull CompilationUnitModel unit) {
		if (pool instanceof WorkspaceBackedEntryPool workspacePool) {
			String unitPackage = unit.getPackage().getName().replace('.', '/');
			SortedSet<ClassPathNode> classesInPackage = unitPackage.isEmpty() ?
					workspace.findClasses(c -> c.getPackageName() == null) :
					workspace.findClasses(c -> unitPackage.equals(c.getPackageName()));
			for (ClassPathNode classPath : classesInPackage)
				workspacePool.computeEntry(classPath.getValue(), DEFAULT_TTL);
		}
	}
Takes classes from the same package that the given unit is from and populates them in the provided entry pool.
<br>
This is a very important step we must take before using the pool for content resolving.

@param workspace
		Workspace to pull classes from.
@param pool
		Pool to dump class models into.
@param unit
		Unit to prefill classes for.
recaf-core/src/main/java/software/coley/recaf/services/source/AstService.java