static AssociationEnd getOppositeAssociationEnd(final Property associationEnd)
{
Object opposite = associationEnd.getOpposite();
if (opposite == null)
{
Association association = associationEnd.getAssociation();
if (association != null)
{
Collection ends = association.getMemberEnds();
for (final Iterator endIterator = ends.iterator(); endIterator.hasNext();)
{
final Object end = endIterator.next();
if (end != null && !associationEnd.equals(end))
{