-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static Inner classes Vs Non-Static Inner Classes #6
Comments
The compiler included in Javassist does not support inner classes. If you already have a class file of inner class, Javassist can handle it. |
Thx @chiba, this is more precise than the docs. Maybe you could update them. S. 2014-05-20 5:50 GMT+02:00 Shigeru Chiba notifications@github.com:
|
I've done it. |
Thx for your responsiveness @chiba 2014-05-20 10:35 GMT+02:00 Shigeru Chiba notifications@github.com:
|
Hi @chibash ,
playing with Javassist, I realize that Javassist actually works pretty fine with static inner classes. I guess that when you mention (section 4.7 of the tutorial) :
you are talking about non static inner classes, as the byte code is more difficult to play with (due to passing a reference to Outer.this).
If so, would you mind to be more precise in the docs ?
Thx in advance,
Stéphane
The text was updated successfully, but these errors were encountered: