private void printFields(PrintWriter printer, Set<String> exports) {
		// always use false for static so typing.ClassVar is not emitted
		for (VariableElement field : api.getFields(true)) {
			api.printField(field, printer, INDENT, false);
			exports.add('"' + field.getSimpleName().toString() + '"');
		}
		for (VariableElement field : script.getFields(true)) {
			script.printField(field, printer, INDENT, false);
			exports.add('"' + field.getSimpleName().toString() + '"');
		}
	}
Prints all the script fields

@param printer the printer
@param exports the set of fields to export
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/GhidraBuiltinsBuilder.java