@Nullable
	private ClassCommentPane getOrCreateCommentPane(@Nonnull ClassPathNode path) {
		// Skip if workspace container is null.
		WorkspaceComments workspaceComments = commentManager.getCurrentWorkspaceComments();
		if (workspaceComments == null)
			return null;

		// Skip if class container is null.
		String name = path.getValue().getName();
		ClassComments classComments = workspaceComments.getClassComments(path);
		if (classComments == null)
			return null;

		// Get or create the comment pane.
		ClassCommentPane pane = classToPane.get(name);
		if (pane == null) {
			ClassCommentPane newPane = new ClassCommentPane(classComments);
			FxThreadUtil.run(() -> commentsList.getChildren().add(newPane));
			pane = newPane;
		}

		return pane;
	}
Create comment panes for all class comments in the current workspace.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/CommentListPane.java