[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Field injection

adrian@jboss.org do-not-reply at jboss.com
Thu Mar 13 11:18:12 EDT 2008


"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#4136327

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136327



More information about the jboss-dev-forums mailing list