}
}
ManagedParameter[] parameters = new ManagedParameter[mparams.size()];
mparams.toArray(parameters);
ManagedOperationImpl op = new ManagedOperationImpl(name, description, impact, parameters, returnType);
if(returnTypeMapper[0] != null)
op.setTransientAttachment(MetaMapper.class.getName(), returnTypeMapper[0]);
return op;
}