MK Song [http://community.jboss.org/people/mksong] created the discussion

"Decompile"

To view the discussion, visit: http://community.jboss.org/message/556969#556969

--------------------------------------------------------------
Is Javassist's API able to support decompile a class file to the corresponding 
source file?

For example,

ClassPool pool = ClassPool.getDefault();
pool.insertClassPath(classpath);
CtClass cc = pool.get(classname);


/* Add or remove somethings */
cc.writeFile(classpath);


*cc.writeSource(classpath); <---*

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/556969#556969]

Start a new discussion in Javassist at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to