@Override
  public TypeDescriptor getType(XmlElement context) {
    TypeDescriptor typeDescriptor = super.getType(context);
    return typeDescriptor instanceof ComplexTypeDescriptor ? new RedefinedTypeDescriptor((ComplexTypeDescriptor)typeDescriptor, myRedefined,
                                                                                         myOriginalNsDescriptor) : typeDescriptor;
  }
@Override
  public TypeDescriptor getType(XmlElement context)