@Nonnull
			@Override
			public byte[] filter(@Nonnull Workspace workspace, @Nonnull JvmClassInfo initialClassInfo, @Nonnull byte[] bytecode) {
				// Skip if comment insertion is disabled.
				if (!config.getEnableCommentDisplay().hasValue())
					return bytecode;

				// Skip if there are no comments in the workspace.
				WorkspaceComments comments = getWorkspaceComments(workspace);
				if (comments == null)
					return bytecode;

				// Skip if the class is not found in the workspace.
				ClassPathNode classPath = workspace.findClass(initialClassInfo.getName());
				if (classPath == null)
					return bytecode;

				// Skip if there are no comments for the class.
				ClassComments classComments = comments.getClassComments(classPath);
				if (classComments == null)
					return bytecode;

				// Adapt with comment annotations.
				ClassReader reader = new ClassReader(bytecode);
				ClassWriter writer = new ClassWriter(reader, 0);
				CommentInsertingVisitor inserter = new CommentInsertingVisitor(classComments, classPath, writer);
				reader.accept(inserter, 0);
				if (inserter.getInsertions() > 0)
					return writer.toByteArray();
				return bytecode;
			}
Map of workspace comment impls modeling only data. Used for persistence.
recaf-core/src/main/java/software/coley/recaf/services/comment/CommentManager.java