private boolean callsOwnConstructorOrDestructor(RecoveredClass recoveredClass,
			Function function) throws CancelledException {

		Set<Function> calledFunctions = getCalledFunctions(function);

		List<Function> constructorOrDestructorFunctions =
			recoveredClass.getConstructorOrDestructorFunctions();
		for (Function cdFunction : constructorOrDestructorFunctions) {
			monitor.checkCancelled();

			if (calledFunctions.contains(cdFunction)) {
				return true;
			}
		}
		return false;
	}
Method to remove functions from the class constructor/destructor lists (and the overall list)
that are not self-contained constructor/destructor functions. Add them to the list of
functions that contain inlined constructors or destructors.
NOTE: this must be called after the global const/dest list is created but before
functions get added to the other class lists
@param recoveredClasses list of classes to process
@throws CancelledException if cancelled
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java