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&...]