container/common/src/main/java/org/mobicents/slee/container/deployment/ConcreteClassGeneratorUtils.java
public static void copyMethods(CtClass source, CtClass destination,
			CtClass[] exceptions) {
		copyMethods(source.getDeclaredMethods(), destination, exceptions);
	}
public static void copyMethods(CtClass source, CtClass destination,
			CtClass[] exceptions) {
		copyMethods(source.getDeclaredMethods(), destination, exceptions);
	}
Copy declared methods from one class to another

@param source
the class from which the methods are copied
@param destination
the class to which the methods are copied
@param exceptions
optionnal, defines the set of exceptions the methods can throw