public static Object[] getCallMethods(PyObject obj) {
		List<Method> callMethodList = new ArrayList<>();
		Method[] declaredMethods = obj.getClass().getDeclaredMethods();

		for (Method declaredMethod : declaredMethods) {
			if (declaredMethod.getName().equals("__call__")) {
				callMethodList.add(declaredMethod);
			}
		}

		return callMethodList.toArray();
	}
Returns the Java __call__ methods declared for a Jython object.

Some Jython "methods" in the new-style Jython objects are actually
classes in and of themselves, re-implementing __call__ methods to
tell us how to call them.  This returns an array of those Methods
(for code completion help).

@param obj a PyObject
@return the Java __call__ methods declared for the Jython object
Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonCodeCompletionFactory.java