public static MBeanOperationInfo[] generateMBeanOperationInfos(final Collection<Method> methods) {
final MBeanOperationInfo[] infos = new MBeanOperationInfo[methods.size()];
int i = 0;
for (final Method m : methods) {
final ManagedOperation managed = m.getAnnotation(ManagedOperation.class);
final String methodName = m.getName();
final MBeanParameterInfo[] parameterInfos = parameterInfos(m);
final int impact = managed == null ? MBeanOperationInfo.UNKNOWN : managed.impact();
final String description = getDescription(m);
final Descriptor descriptor = null;
final MBeanOperationInfo info = new MBeanOperationInfo(
methodName,