@Deprecated
public final class UnsafeAccess
extends java.lang.Object
Unsafe
class to do
visibility modifications and potentially other low level access.Constructor and Description |
---|
UnsafeAccess()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
setFieldToPublic(java.lang.reflect.Field f)
Deprecated.
Takes in a
Field and sets the accessibility to be public. |
static void |
setMethodToPublic(java.lang.reflect.Method m)
Deprecated.
Takes in a
Method and sets the accessibility to be public. |
public static void setFieldToPublic(java.lang.reflect.Field f)
Field
and sets the accessibility to be public.f
- Field to be modifiedpublic static void setMethodToPublic(java.lang.reflect.Method m)
Method
and sets the accessibility to be public.m
- Method to be modified