simplifying javassist example