/** {@inheritDoc} */ public MBeanInfo getMBeanInfo() { List<MBeanAttributeInfo> l = new ArrayList<MBeanAttributeInfo>(); for (AbstractManagedAttribute aa : attributes.values()) { try { l.add(aa.getInfo()); } catch (IntrospectionException e) { // /CLOVER:OFF throw new IllegalStateException(e);// don't test // /CLOVER:ON } } List<MBeanOperationInfo> lo = new ArrayList<MBeanOperationInfo>(); for (AbstractManagedOperation op : ops.values()) { try { lo.add(op.getInfo()); } catch (IntrospectionException e) { // /CLOVER:OFF throw new IllegalStateException(e);// don't test // /CLOVER:ON } } return new MBeanInfo(name, description, l.toArray(new MBeanAttributeInfo[0]), null, lo .toArray(new MBeanOperationInfo[0]), null); }