[jboss-user] [Javassist] - Decompile
MK Song
do-not-reply at jboss.com
Wed Aug 11 16:01:41 EDT 2010
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100811/62d4ad60/attachment-0001.html
More information about the jboss-user
mailing list