private void addParams(ExecutableElement execElement, JsonObject obj) {

		JsonArray paramsArray = new JsonArray();
		for (VariableElement varElement : execElement.getParameters()) {
			JsonObject paramObj = new JsonObject();
			paramObj.addProperty("name", varElement.getSimpleName().toString());
			paramObj.addProperty("type_long", getTypeLong(varElement.asType()));
			paramObj.addProperty("type_short", getTypeShort(varElement.asType()));
			String comment = "";
			DocCommentTree commentTree = docTrees.getDocCommentTree(execElement);
			if (commentTree != null) {
				for (DocTree blockTag : commentTree.getBlockTags()) {
					if (blockTag.getKind().equals(DocTree.Kind.PARAM)) {
						ParamTree paramTree = (ParamTree) blockTag;
						if (paramTree.getName().getName().equals(varElement.getSimpleName())) {
							comment = getComment(blockTag);
							break;
						}
					}
				}
			}
			paramObj.addProperty("comment", comment);
			paramsArray.add(paramObj);
		}
		obj.add("params", paramsArray);
	}
Parses the given {@link ExecutableElement} for any associated parameters and adds them to 
the json object.

@param execElement the element to parse
@param obj the json object
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/json/JsonDoclet.java