@Override
	protected void generateDisplay() {
		// If you want to swap out the display, first clear the existing one.
		// Clearing is done automatically when changing the editor type.
		if (hasDisplay())
			return;

		// Update content in pane.
		AndroidClassEditorType type = getEditorType();
		switch (type) {
			case DECOMPILE -> setDisplay(decompilerProvider.get());
			case SMALI -> {
				// TODO: Create 'Editor' set-up for smali
				Label decompile = new Label("TODO: Smali");
				setDisplay(decompile);
			}
			default -> throw new IllegalStateException("Unknown editor type: " + type.name());
		}
	}
@param editorType
		New editor display type.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/android/AndroidClassPane.java