code: private ClassDescriptor getRealClassDescriptor(ClassDescriptor aCld, Object anObj)
      {
          ClassDescriptor result;
  
          if(aCld.getClassOfObject() == ProxyHelper.getRealClass(anObj))
          {
              result = aCld;
          }
          else
          {
              result = aCld.getRepository().getDescriptorFor(anObj.getClass());
          }
  
          return result;
      }
docs: Answer the real ClassDescriptor for anObj
  ie. aCld may be an Interface of anObj, so the cld for anObj is returned