public static void createInheritanceLink ( CtClass concreteClass , CtClass superClass ) { if ( superClass == null ) return ; try { concreteClass . setSuperclass ( superClass ) ; logger . trace ( concreteClass . getName ( ) + " Inheritance link with " + superClass . getName ( ) + " class created" ) ; } catch ( CannotCompileException cce ) { cce . printStackTrace ( ) ; } }
Create the inheritance link with the sbb absract class provided by the sbb developer