[jboss-user] [Javassist] - $proceed($$) for private methods

Aaron Dixon do-not-reply at jboss.com
Sat Jun 9 19:44:34 EDT 2012


Aaron Dixon [https://community.jboss.org/people/aarontdixon] created the discussion

"$proceed($$) for private methods"

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

--------------------------------------------------------------
I get a compile error when Javassist is trying to compile a method replacement when the method is private.

method.instrument(new ExprEditor() {
     public void edit(MethodCall m) throws CannotCompileException {
          m.replace("$_ = $proceed($$);");
     }
}

Is there a way I can get Javassist to compile invocations of private methods?
--------------------------------------------------------------

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

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/20120609/5241a474/attachment-0001.html 


More information about the jboss-user mailing list