private static void doEnhancement ( CtClass cc , Version modelVersion ) throws CannotCompileException , NotFoundException , ClassNotFoundException { CtClass inter = cp . get ( OpenEngSBModel . class . getName ( ) ) ; cc . addInterface ( inter ) ; addFields ( cc ) ; addGetOpenEngSBModelTail ( cc ) ; addSetOpenEngSBModelTail ( cc ) ; addRetrieveModelName ( cc ) ; addRetrieveModelVersion ( cc , modelVersion ) ; addOpenEngSBModelEntryMethod ( cc ) ; addRemoveOpenEngSBModelEntryMethod ( cc ) ; addRetrieveInternalModelId ( cc ) ; addRetrieveInternalModelTimestamp ( cc ) ; addRetrieveInternalModelVersion ( cc ) ; addToOpenEngSBModelValues ( cc ) ; addToOpenEngSBModelEntries ( cc ) ; cc . setModifiers ( cc . getModifiers ( ) & ~ Modifier . ABSTRACT ) ; }
Does the steps for the model enhancement .