* org.eclipse.jdt.debug.core.IJavaThread)
*/
public IJavaValue sendMessage(String selector, String signature,
IJavaValue[] args, IJavaThread thread) throws DebugException {
if (getUnderlyingType() instanceof ClassType) {
ClassType clazz = (ClassType) getUnderlyingType();
JDIThread javaThread = (JDIThread) thread;
List<Value> arguments = convertArguments(args);
Method method = null;
try {
List<Method> methods = clazz.methodsByName(selector, signature);
if (methods.isEmpty()) {
requestFailed(
MessageFormat.format(
JDIDebugModelMessages.JDIClassType_Type_does_not_implement_selector,
selector, signature), null);