void process(PrintWriter printer, String indent, boolean overload) {
		String name = sanitize(getName());
		Set<Modifier> modifiers = el.getModifiers();
		boolean isStatic = modifiers.contains(Modifier.STATIC);

		if (name.equals("<init>")) {
			name = "__init__";
		}

		printer.print(indent);
		if (isStatic) {
			printer.println("@staticmethod");
			printer.print(indent);
		}

		if (overload) {
			printer.println("@typing.overload");
			printer.print(indent);
		}

		if (doclet.isDeprecated(el)) {
			String msg = doclet.getDeprecatedMessage(el);
			if (msg != null) {
				// a message is required
				// if one is not present, don't apply it
				printer.print("@deprecated(");
				printer.print(msg);
				printer.println(')');
				printer.print(indent);
			}
		}

		printer.print("def ");
		printer.print(name);

		printSignature(printer, filterSelf || isStatic);

		printer.println(":");
		indent += PY_INDENT;
		writeJavaDoc(el, printer, indent, EMPTY_DOCS);
		printer.println();
	}
Processes the method and prints it to the provided printer

@param printer the printer
@param indent the indentation
@param overload true if the overload annotation should be applied
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubMethod.java