if (Types.isBaseType(typeName(property.getType()))) {
continue;
}
properties.add(property.getType());
if (Collections.isContainerType(property.getType())) {
ResolvedType collectionElementType = Collections.collectionElementType(property.getType());
if (Types.typeNameFor(collectionElementType.getErasedType()) == null) {
if (!Types.isBaseType(typeName(collectionElementType))) {
properties.add(collectionElementType);
}
properties.addAll(resolvedDependencies(ModelContext.fromParent(modelContext, collectionElementType)));
}