Ah.. it is not allowed in J2SE to create another version
of java.lang.Object.
For your purpose, what about:
CtClass klass = classPool.get("java.lang.Object");
You can modify klass as you want.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133988#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...