@Override
	public void onUpdatePath(@Nonnull PathNode<?> path) {
		// Update if class has changed.
		if (path instanceof ClassPathNode classPath) {
			this.path = classPath;
			Unchecked.checkedForEach(pathUpdateListeners, listener -> listener.accept(classPath),
					(listener, t) -> logger.error("Exception thrown when handling class-pane path update callback", t));

			// Initialize UI if it has not been done yet.
			if (!hasDisplay())
				generateDisplay();

			// Notify children of change.
			getNavigableChildren().forEach(child -> {
				if (child instanceof UpdatableNavigable updatable)
					updatable.onUpdatePath(path);
			});
		}
	}
Common outline for displaying {@link ClassInfo} content.

@author Matt Coley
@see JvmClassPane For {@link JvmClassInfo}.
@see AndroidClassPane For {@link AndroidClassInfo}.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/ClassPane.java