code: public static void clean(String suffix) {
          try {
              CtClass ctClass = POOL.getCtClass(AbstractFelixCommandsService.class.getName() + suffix);
              ctClass.defrost();
              ctClass.detach();
          } catch (NotFoundException e) {
              LOG.log(Level.WARNING, "Unable to clean Console Service. " + e.getMessage(), e);
          }
      }
docs: Detach generated class
  
  @param suffix unique class suffix