Type componentType = Object.class;
if (typeParameters != null && typeParameters.length == 1 && typeParameters[0] instanceof Class) {
componentType = typeParameters[0];
}
assignment = new ComponentList(container,
toClass( componentType ),
role,
roleHints,
componentDescriptor.getHumanReadableKey());
}