List<Method> methods = null;
ClassType refType = null;
ObjectReference obj = null;
if (invoker instanceof ClassType) {
refType = (ClassType)invoker;
methods = refType.methodsByName(methodName);
} else {
obj = (ObjectReference)invoker;
methods = obj.referenceType().methodsByName(methodName);
}
if (methods == null || methods.size() == 0) {