public class ReflectionShim
extends java.lang.Object
Constructor and Description |
---|
ReflectionShim() |
Modifier and Type | Method and Description |
---|---|
static boolean |
trySetAccessible(java.lang.reflect.AccessibleObject accessibleObject)
If there is `trySetAccessible` method defined in `AccessibleObject`, it should be used;
otherwise, fallback to `setAccessible`.
|