final boolean writeJavaDoc(Element element, PrintWriter printer, String indent,
			String emptyValue) {
		String doc = doclet.getJavadoc(element);
		if (doc.isBlank()) {
			if (!emptyValue.isBlank()) {
				printer.print(indent);
				printer.print(emptyValue);
			}
			return false;
		}
		String quotes = doc.contains(DOC_QUOTES) ? ALT_DOC_QUOTES : DOC_QUOTES;
		if (quotes == ALT_DOC_QUOTES) {
			// ensure there are no problems
			doc = doc.replaceAll(ALT_DOC_QUOTES, '\\' + ALT_DOC_QUOTES);
		}
		printer.print(indent);
		printer.println(quotes);
		writeLines(printer, doc.stripTrailing(), indent);
		printer.print(indent);
		printer.println(quotes);
		return true;
	}
Writes the Javadoc for the provided element to the provided printer

@param element the element to write the javadoc for
@param printer the printer to write to
@param indent the indentation
@param emptyValue the value to use when there is no documentation
@return true if a Javadoc was written else false
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubElement.java