code: protected void mergeInheritedFields(TypeDeclarationDescr typeDescr,
                                          List<TypeDefinition> unresolvedTypes,
                                          Map<String, AbstractClassTypeDeclarationDescr> unprocessableDescrs,
                                          TypeResolver typeResolver) {
  
          if (typeDescr.getSuperTypes().isEmpty()) {
              return;
          }
  
          for (int j = typeDescr.getSuperTypes().size() - 1; j >= 0; j--) {
              QualifiedName qname = typeDescr.getSuperTypes().get(j);
              String simpleSuperTypeName = qname.getName();
              String superTypePackageName = qname.getNamespace();
              String fullSuper = qname.getFullName();
  
              mergeFields(simpleSuperTypeName,
                          superTypePackageName,
                          fullSuper,
                          typeDescr,
                          unresolvedTypes,
                          unprocessableDescrs,
                          typeResolver);
          }
      }
docs: In order to build a declared class, the fields inherited from its
  superclass(es) are added to its declaration. Inherited descriptors are
  marked as such to distinguish them from native ones. Various scenarioes
  are possible. (i) The superclass has been declared in the DRL as well :
  the fields are cloned as inherited (ii) The superclass is imported
  (external), but some of its fields have been tagged with metadata (iii)
  The superclass is imported.
  <p>
  The search for field descriptors is carried out in the order. (i) and
  (ii+iii) are mutually exclusive. The search is as such: (i) The
  superclass' declared fields are used to build the base class additional
  fields (iii) The superclass is inspected to discover its (public) fields,
  from which descriptors are generated (ii) Both (i) and (iii) are applied,
  but the declared fields override the inspected ones
  
  @param typeDescr The base class descriptor, to be completed with the inherited
  fields descriptors
  @return true if all went well