VMMethod[] methods = VMVirtualMachine.getAllClassMethods(clazz);
os.writeInt (methods.length);
for (int i = 0; i < methods.length; i++)
{
VMMethod method = methods[i];
method.writeId(os);
JdwpString.writeString(os, method.getName());
JdwpString.writeString(os, method.getSignature());
os.writeInt(method.getModifiers());
}
}