if (!hasInstanceClass() && object != null && !getFeatureType().isInstance(object))
if (!hasInstanceClass() && object != null && !isInstance(object))
  protected Object validate(int index, Object object)  {    super.validate(index, object);    if (!hasInstanceClass() && object != null && !getFeatureType().isInstance(object))    {      throw new ArrayStoreException();    }    return object;  }