ported to scala, working example of Sandeep Awasthi Javassist example
ported to scala, working example of Sandeep Awasthi Javassist example