public List<Option> getOptions(boolean isAddToProgram) {
		this.addToProgram = isAddToProgram;

		ArrayList<Option> optionList = new ArrayList<>();

		optionList.add(new Option("Memory Blocks", Boolean.valueOf(isMemoryBlocks())));
		optionList.add(new Option("Memory Contents", Boolean.valueOf(isMemoryContents())));
		if (isAddToProgram) {
			optionList.add(new Option("Overwrite Memory Conflicts",
				Boolean.valueOf(isOverwriteMemoryConflicts())));
		}
		optionList.add(new Option("Instructions", Boolean.valueOf(isInstructions())));
		optionList.add(new Option("Data", Boolean.valueOf(isData())));
		if (isAddToProgram) {
			optionList.add(
				new Option("Overwrite Data Conflicts", Boolean.valueOf(isOverwriteDataConflicts())));
		}
		optionList.add(new Option("Symbols", Boolean.valueOf(isSymbols())));
		if (isAddToProgram) {
			optionList.add(new Option("Overwrite Symbol Conflicts",
				Boolean.valueOf(isOverwriteSymbolConflicts())));
		}
		optionList.add(new Option("Equates", Boolean.valueOf(isEquates())));
		optionList.add(new Option("Comments", Boolean.valueOf(isComments())));
		optionList.add(new Option("Properties", Boolean.valueOf(isProperties())));
		if (isAddToProgram) {
			optionList.add(new Option("Overwrite Property Conflicts",
				Boolean.valueOf(isOverwritePropertyConflicts())));
		}
		optionList.add(new Option("Bookmarks", Boolean.valueOf(isBookmarks())));
		if (isAddToProgram) {
			optionList.add(new Option("Overwrite Bookmark Conflicts",
				Boolean.valueOf(isOverwriteBookmarkConflicts())));
		}
		optionList.add(new Option("Trees", Boolean.valueOf(isTrees())));
		optionList.add(new Option("References", Boolean.valueOf(isReferences())));
		if (isAddToProgram) {
			optionList.add(new Option("Overwrite Reference Conflicts",
				Boolean.valueOf(isOverwriteReferenceConflicts())));
		}
		optionList.add(new Option("Functions", Boolean.valueOf(isFunctions())));
		optionList.add(new Option("Registers", Boolean.valueOf(isRegisters())));
		optionList.add(new Option("Relocation Table", Boolean.valueOf(isRelocationTable())));
		optionList.add(new Option("Entry Points", Boolean.valueOf(isEntryPoints())));
		optionList.add(new Option("External Libraries", Boolean.valueOf(isExternalLibraries())));

		return optionList;
	}
Returns an array of importer options representing
the flags in this class.
@param isAddToProgram if true then adding to existing program
@return the array of importer options
Ghidra/Features/Base/src/main/java/ghidra/app/util/xml/XmlProgramOptions.java