java.lang.Object
org.gjt.sp.jedit.bsh.ReflectManager
- Direct Known Subclasses:
ReflectManagerImpl
ReflectManager is 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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReflectManager
Return the singleton bsh ReflectManager.static boolean
RMSetAccessible
(Object obj) Reflect Manager Set Accessible.abstract boolean
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
-
Constructor Details
-
ReflectManager
public ReflectManager()
-
-
Method Details
-
getReflectManager
Return the singleton bsh ReflectManager.- Throws:
Capabilities.Unavailable
- // weirdness with mode file, leave in the tab preceding this comment
-
RMSetAccessible
Reflect Manager Set Accessible. Convenience method to invoke the reflect manager.- Throws:
Capabilities.Unavailable
- // weirdness with mode file, leave in the tab preceding this comment
-
setAccessible
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.- Returns:
- true if the object was accessible or false if it was not.
-