private void printSignature(PrintWriter printer, boolean isStatic) {
		List<String> names = getParameterNames();
		List<? extends TypeMirror> types = getParameterTypes();
		StringBuilder args = new StringBuilder();

		if (!isStatic) {
			args.append("self");
		}

		for (int i = 0; i < names.size(); i++) {
			if (i != 0 || !isStatic) {
				args.append(", ");
			}
			if (el.isVarArgs() && i == names.size() - 1) {
				ArrayType type = (ArrayType) types.get(i);
				String arg = convertParam(names.get(i), type.getComponentType());
				args.append('*' + arg);
			}
			else {
				args.append(convertParam(names.get(i), types.get(i)));
			}
		}

		printer.print("(");
		printer.print(args);
		printer.print(")");

		TypeMirror res = el.getReturnType();
		if (res.getKind() != TypeKind.VOID) {
			printer.print(" -> ");
			String convertedType = convertResultType(res);
			if (convertedType != null) {
				printer.print(convertedType);
			}
			else {
				printer.print(sanitizeQualifiedName(res));
			}
		}
	}
Prints the Python equivalent method signature to the provided printer

@param printer the printer
@param isStatic true if this method is a static method
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubMethod.java