private void accept(@Nonnull BiConsumer<ClassInfo, MethodMember> memberConsumer) {
		TreeItem<PathNode<?>> selectedItem = tree.getSelectionModel().getSelectedItem();
		if (selectedItem != null && selectedItem.getValue() instanceof ClassMemberPathNode memberPath) {
			ClassInfo owner = memberPath.getValueOfType(ClassInfo.class);
			MethodMember method = (MethodMember) memberPath.getValue();
			if (owner != null)
				memberConsumer.accept(owner, method);
		}
		hide();
	}
Popup to show a selection of method to override from parent classes.

@author Matt Coley
recaf-ui/src/main/java/software/coley/recaf/ui/control/popup/OverrideMethodPopup.java