if (type2.eIsProxy())
{
// Proxy AssosiationEnd's must be StereoType Entity
URI proxyURI = type2.eProxyURI();
String className = proxyURI.fragment().substring( proxyURI.fragment().lastIndexOf( '/' ) + 1 );
String fragment = proxyURI.fragment().substring( 0, proxyURI.fragment().lastIndexOf( '/' ) );
String packageName = fragment.substring(fragment.lastIndexOf( '/' ) + 1 );
sb.append( packageName ).append( ".common." );
sb.append( className ).append( "TO" );