"alesj" wrote : "alesj" wrote :
| | I guess we wont be able to do it w/o Field.setAccessible(true)?
| |
| Should we introduce setAccessible(boolean) to FieldInfo, MethodInfo, ConstructorInfo?
|
No because the objects are shared unlike the normal reflection objects.
This makes them more efficient in terms of memory and construction.
That is one of the reasons why the reflect classes were created in the first place.
anonymous wrote : Does Javassist have something equivalent?
Do you even read the JIRA issues assigned to you? :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136327#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...