for (int i = 0; i < methods.length; i++) {
Method method = methods[i];
int index = getSuperIndex(proxyType, method);
if (index >= 0) {
if (operations.containsKey(new MBeanOperationSignature(method))) {
methodTable[index] = new InvokeMBean(method, false, false);
} else if (method.getName().startsWith("get") && attributes.containsKey(method.getName().substring(3))) {
methodTable[index] = new InvokeMBean(method, true, true);
} else if (method.getName().startsWith("is") && attributes.containsKey(method.getName().substring(2))) {
methodTable[index] = new InvokeMBean(method, true, true);
} else if (method.getName().startsWith("set") && attributes.containsKey(method.getName().substring(3))) {
methodTable[index] = new InvokeMBean(method, true, false);
}
}
}
// handle equals, hashCode and toString directly here