An example to insert hooks with BCEL.