* @param property The property
* @param relatedClassType The related type
*/
@SuppressWarnings("unchecked")
private void establishOwnerOfManyToMany(DefaultGrailsDomainClassProperty property, Class<?> relatedClassType) {
ClassPropertyFetcher cpf = ClassPropertyFetcher.forClass(relatedClassType);
Object relatedBelongsTo = cpf.getPropertyValue(GrailsDomainClassProperty.BELONGS_TO);
boolean owningSide = false;
boolean relatedOwner = isOwningSide(relatedClassType, owners);
final Class<?> propertyClass = property.getDomainClass().getClazz();
if (relatedBelongsTo instanceof Collection) {
final Collection associatedOwners = (Collection)relatedBelongsTo;