public void createEjbPostCreate(final String ejbPostCreateName, final Method ejbCreate) {
final String methodDescriptor = Type.getMethodDescriptor(Type.VOID_TYPE, Type.getArgumentTypes(ejbCreate));
final MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC, ejbPostCreateName, methodDescriptor, null, null);
mv.visitCode();
mv.visitInsn(Opcodes.RETURN);
mv.visitMaxs(0, ejbCreate.getParameterTypes().length + 1);
mv.visitEnd();
}
}