public void updateClassWithParent(RecoveredClass parentClass, RecoveredClass childClass) {

		// return if they are already a known parent/child pair
		if (parentClass.getChildClasses().contains(childClass) &&
			childClass.getParentList().contains(parentClass)) {
			return;
		}

		childClass.addParent(parentClass);

		childClass.setHasParentClass(true);
		parentClass.setHasChildClass(true);
		parentClass.addChildClass(childClass);

		return;
	}
method to update the two given classes with their related class hierarchy
@param parentClass parent of childClass
@param childClass child of parentClass
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java