code: @Override
      public T add(final Archive<?> archive, final ArchivePath path, final Class<? extends StreamExporter> exporter) {
          // Add archive asset
          super.add(archive, path, exporter);
  
          // Expected Archive Path
          final ArchivePath archivePath = new BasicPath(path, archive.getName());
  
          // Get the Asset that was just added
          final Node node = get(archivePath);
  
          // Make sure it is an ArchiveAsset
          if (node.getAsset() != null && node.getAsset() instanceof ArchiveAsset) {
              final ArchiveAsset archiveAsset = ArchiveAsset.class.cast(node.getAsset());
              // Add asset to ArchiveAsset Map
              nestedArchives.put(archivePath, archiveAsset);
          }
  
          return covariantReturn();
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.impl.base.ArchiveBase#add(org.jboss.shrinkwrap.api.Archive,
  org.jboss.shrinkwrap.api.ArchivePath, java.lang.Class)