@Override
	public void optionsChanged(Options options, Program program) {
		doNewStackAnalysis =
			options.getBoolean(GhidraLanguagePropertyKeys.USE_NEW_FUNCTION_STACK_ANALYSIS,
				true);

		doCreateLocalStackVars =
			options.getBoolean("Create Local Variables", doCreateLocalStackVars);

		doCreateStackParams = options.getBoolean("Create Param Variables", doCreateStackParams);
		
		maxThreadCount = options.getInt(MAX_THREAD_COUNT_OPTION_NAME, maxThreadCount);
	}
Find function locations and adding the function entry points to locations

@param program program
@param set remove known function bodies from the set, leave entry points
@param locations set of known function start addresses
@param monitor to cancel
@throws CancelledException if cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/StackVariableAnalyzer.java