@Override
	public boolean added(Program program, AddressSetView set, TaskMonitor monitor, MessageLog log) {
		if (!createOnlyThunks) {
			return true;
		}
		return super.added(program, set, monitor, log);
	}
This analyzer creates only functions that are thunks early in the analysis pipeline.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/CreateThunkAnalyzer.java