ret=new EStringReference();
((EStringReference)ret).setStringValue(((StringReference)objectReference).value());
}
else if(objectReference instanceof ArrayReference)
{
ret=new EArrayReference();
((EArrayReference)ret).setLength(((ArrayReference)objectReference).length());
}
else if(objectReference.referenceType().name().equals("java.lang.Boolean"))
{
ret=new EWrapperReference();