private void injectClassTabs(@Nonnull AbstractContentPane<?> pane) {
		if (pane instanceof ClassNavigable classNavigable) {
			FieldsAndMethodsPane fieldsAndMethodsPane = fieldsAndMethodsPaneProvider.get();
			InheritancePane inheritancePane = inheritancePaneProvider.get();

			// Setup so clicking on items in fields-and-methods pane will synchronize with content in our class pane.
			fieldsAndMethodsPane.setupSelectionNavigationListener(classNavigable);

			// Setup side-tabs
			pane.addSideTab(Lang.getBinding("fieldsandmethods.title"), d -> Icons.getIconView(Icons.FIELD_N_METHOD), fieldsAndMethodsPane);
			pane.addSideTab(Lang.getBinding("hierarchy.title"), CarbonIcons.FLOW, inheritancePane);

			// Add kotlin metadata tab if metadata is found.
			KtClass metadata = KotlinMetadata.extractKtModel(classNavigable.getClassPath().getValue());
			if (metadata != null) {
				KotlinMetadataPane kotlinMetadataPane = kotlinPaneProvider.get();
				kotlinMetadataPane.setMetadata(metadata);
				pane.addSideTab(Lang.getBinding("kotlinmetadata.title"), d -> Icons.getIconView(Icons.KOTLIN_FLAT), kotlinMetadataPane);
			}
		} else {
			logger.warn("Called 'injectClassTabs' for non-class navigable content");
		}
	}
Adds class-specific content to the given pane.

@param pane
		Pane to inject tabs into for {@link ClassInfo} content.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/SideTabsInjector.java