add return statement in method which was generated from joinpoint declaration