/* 102 */ if ((desc != null) && (desc.getFieldValue("getMethod") != null))
/* */ {
/* 104 */ getter = mmap.lookupGetter(mmbAttribute);
/* 105 */ if (getter == null)
/* */ {
/* 107 */ throw new IntrospectionException("no getter method found for attribute: " + attribute.getName());
/* */ }
/* */ }
/* */ }
/* */ else
/* */ {
/* 113 */ getter = mmap.lookupGetter(attribute);
/* 114 */ if (getter == null)
/* */ {
/* 116 */ throw new IntrospectionException("no getter method found for attribute: " + attribute.getName());
/* */ }
/* */ }
/* */ }
/* */
/* 121 */ if (attribute.isWritable())
/* */ {
/* 123 */ if ((attribute instanceof ModelMBeanAttributeInfo))
/* */ {
/* 125 */ ModelMBeanAttributeInfo mmbAttribute = (ModelMBeanAttributeInfo)attribute;
/* 126 */ Descriptor desc = mmbAttribute.getDescriptor();
/* 127 */ if ((desc != null) && (desc.getFieldValue("setMethod") != null))
/* */ {
/* 129 */ setter = mmap.lookupSetter(mmbAttribute);
/* 130 */ if (setter == null)
/* */ {
/* 132 */ throw new IntrospectionException("no setter method found for attribute: " + attribute.getName());
/* */ }
/* */ }
/* */ }
/* */ else
/* */ {
/* 138 */ setter = mmap.lookupSetter(attribute);
/* 139 */ if (setter == null)
/* */ {
/* 141 */ throw new IntrospectionException("no setter method found for attribute: " + attribute.getName());
/* */ }
/* */ }
/* */ }
/* */
/* 146 */ dispatcher.bindAttributeAt(i, getter, setter);
/* */ }
/* */
/* 149 */ MBeanOperationInfo[] operations = info.getOperations();
/* 150 */ for (int i = 0; i < operations.length; i++)
/* */ {
/* 152 */ MBeanOperationInfo operation = operations[i];
/* 153 */ Method method = mmap.lookupOperation(operation);
/* 154 */ if (method == null)
/* */ {
/* 156 */ throw new IntrospectionException("no method found for operation: " + operation.getName());
/* */ }
/* */
/* 159 */ dispatcher.bindOperationAt(i, method);
/* */ }
/* */