bsh.reflect

Class ReflectManagerImpl

public class ReflectManagerImpl extends ReflectManager

This is the implementation of: ReflectManager - a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater. In particular it currently supports accessible method and field access supported by JDK1.2 and greater.
Method Summary
booleansetAccessible(Object obj)
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.

Method Detail

setAccessible

public boolean setAccessible(Object obj)
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode. If the object is not an AccessibleObject then do nothing.

Returns: true if the object was accessible or false if it was not.

B) 2000 pat@pat.net :-)