private String pathOf(Class<?> api) {
   return api.getCanonicalName().replace('.', '/');
 }