public final class JavaAccess extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAccess(Class<?>[] types,
JSContext context) |
static void |
checkReflectionAccess(Class<?> clazz,
boolean isStatic,
boolean allowReflection) |
static boolean |
isReflectionAllowed(JSContext context) |
static boolean |
isReflectionClass(Class<?> type) |
static boolean |
isReflectiveCheckNeeded(Class<?> type,
boolean isStatic) |
public static boolean isReflectionClass(Class<?> type)
public static void checkReflectionAccess(Class<?> clazz, boolean isStatic, boolean allowReflection)
public static boolean isReflectiveCheckNeeded(Class<?> type, boolean isStatic)
public static boolean isReflectionAllowed(JSContext context)