code: private ClassDescriptor[] getMultiJoinedClassDescriptors(ClassDescriptor cld)
      {
          DescriptorRepository repository = cld.getRepository();
          Class[] multiJoinedClasses = repository.getSubClassesMultipleJoinedTables(cld, true);
          ClassDescriptor[] result = new ClassDescriptor[multiJoinedClasses.length];
  
          for (int i = 0 ; i < multiJoinedClasses.length; i++)
          {
              result[i] = repository.getDescriptorFor(multiJoinedClasses[i]);
           }
  
          return result;
      }
docs: Get MultiJoined ClassDescriptors
  @param cld