}
// if (slotType has generics) {
// aggregateType = type from generics;
// }
if (aggregateSlotAnnotation != null) {
cardMin = aggregateSlotAnnotation.cardMin();
if (slotAnnotation == null && cardMin > 0) {
mandatory = true;
}
cardMax = aggregateSlotAnnotation.cardMax();