create method bodies with javassist