class AptBrowseNodeGenerator implements
    BrowseNodeGenerator {

  @Override
  public List<BrowsePaths> computeComponentPaths(final Asset asset, final Component component) {
    List<String> pathParts = new ArrayList<>();
    pathParts.add(PACKAGES_PATH);
    pathParts.add(component.name().substring(0, 1).toLowerCase());
    pathParts.add(component.name());
    pathParts.add(component.version());
    pathParts.add(component.group());
    pathParts.add(component.name());
    return BrowsePaths.fromPaths(pathParts, true);
  }

}