[jboss-user] [Javassist] - Can I delete the modifier of a method with Javassist?

Young Zoung do-not-reply at jboss.com
Fri Apr 6 22:50:11 EDT 2012


Young Zoung [https://community.jboss.org/people/scalable] created the discussion

"Can I delete the modifier of a method with Javassist?"

To view the discussion, visit: https://community.jboss.org/message/728731#728731

--------------------------------------------------------------
Hello, everyone.

I have a class file. 

public class ClsSync {

     public synchronized void biat(){

     }

}

I want to change it to 

public  void biat(){   // delete the synchronized keyword

}

Can I implement it using Javassist?

Any suggestions are welcome!

Thanks
--------------------------------------------------------------

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

Start a new discussion in Javassist at Community
[https://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/20120406/53f14976/attachment-0001.html 


More information about the jboss-user mailing list