If we moved the setAccessible() stuff to jboss-reflect as indicated in the comment, we could manage the accessibility of members there?
This was a hack to get private method injection working -- use case for some EJB sandbox/prototype.
Dunno if this is still needed, perhaps just check if BeanAccessMode.ALL already does this on top of BeanInfo.
I know it does for private method/fields, just not sure about any method.
If not, then we can simply extend this notion of ALL to methods as well.