protected void apply(MangledContext mangledContext, DemangledObject demangled, MessageLog log,
			TaskMonitor monitor) {
		try {
			if (demangled.applyTo(mangledContext.getProgram(), mangledContext.getAddress(),
				mangledContext.getOptions(), monitor)) {
				return;
			}
			String errorString = demangled.getErrorMessage();
			logApplyErrorMessage(log, demangled, mangledContext.getAddress(), null,
				errorString);
		}
		catch (Exception e) {
			logApplyErrorMessage(log, demangled, mangledContext.getAddress(), e, null);
		}

	}
Applies the given demangled object to the program

@param mangledContext the mangled context
@param demangled the demangled object
@param log the error log
@param monitor the task monitor
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AbstractDemanglerAnalyzer.java