public static void copyMethods ( CtClass source , CtClass destination , CtClass [ ] exceptions ) { copyMethods ( source . getDeclaredMethods ( ) , destination , exceptions ) ; }
Copy declared methods from one class to another