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 ) ; } }
Detach generated class