void printField(VariableElement field, PrintWriter printer, String indent, boolean isStatic) {
		String name = sanitize(field.getSimpleName());
		printer.print(indent);
		printer.print(name);

		String value = getConstantValue(field);
		if (value != null) {
			// constants are always static final
			printer.print(": typing.Final = ");
			printer.println(value);
		}
		else {
			TypeMirror type = field.asType();
			printer.print(": ");
			String sanitizedType = sanitizeQualifiedName(type);

			// only one of these may be applied
			// prefer Final over ClassVar
			if (isFinal(field)) {
				sanitizedType = applyFinal(sanitizedType);
			}
			else if (isStatic) {
				sanitizedType = applyClassVar(sanitizedType);
			}

			printer.print(sanitizedType);
			printer.println();
		}

		if (writeJavaDoc(field, printer, indent, "")) {
			printer.println();
		}
	}
Prints the provided field to the provided printer

@param field the field to print
@param printer the printer
@param indent the indentation
@param isStatic true if the field is static
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubType.java