return true;
}
}
else
{
ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
ETypeParameter otherETypeParameter = otherEGenericType.getETypeParameter();
return eTypeParameter == otherETypeParameter;
}
}
}
public EGenericType resolve(EGenericType eGenericType)
{
ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
if (eTypeParameter != null)
{
EObject eContainer = eTypeParameter.eContainer();
EGenericType [] eGenericTypes = (EGenericType[])data;
for (int i = 0; i < size; ++i)
{
EGenericType otherEGenericType = eGenericTypes[i];
if (otherEGenericType.getEClassifier() == eContainer)
{
EList<EGenericType> eTypeArguments = otherEGenericType.getETypeArguments();
int index = ((List<?>)eContainer.eGet(eTypeParameter.eContainmentFeature())).indexOf(eTypeParameter);
if (index < eTypeArguments.size())
{
return resolve(eTypeArguments.get(index));
}
}