| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static boolean | isNonPublicProxyClass(Class<?> cls)
Test if the given class is a proxy class that implements non-public interface. |
| public static boolean | |
| private static void | privateCheckPackageAccess(SecurityManager s, Class<?> clazz)
References Deprecated
SecurityManager is deprecated or references (maybe indirectly) at least one deprecated element.
Note should only be called if a SecurityManager is installed |
| private static void | privateCheckProxyPackageAccess(SecurityManager s, Class<?> clazz)
References Deprecated
SecurityManager is deprecated or references (maybe indirectly) at least one deprecated element.
Note should only be called if a SecurityManager is installed |
| PROXY_PACKAGE | back to summary |
|---|---|
| public static final String PROXY_PACKAGE | |
| ReflectUtil | back to summary |
|---|---|
| private ReflectUtil() | |
| checkPackageAccess | back to summary |
|---|---|
| public static void checkPackageAccess(Class<?> clazz) Checks package access on the given class.
If it is a | |
| checkPackageAccess | back to summary |
|---|---|
| public static void checkPackageAccess(String name) Checks package access on the given classname. This method is typically called when the Class instance is not available and the caller attempts to load a class on behalf the true caller (application). | |
| isNonPublicProxyClass | back to summary |
|---|---|
| public static boolean isNonPublicProxyClass(Class<?> cls) Test if the given class is a proxy class that implements non-public interface. Such proxy class may be in a non-restricted package that bypasses checkPackageAccess. | |
| isPackageAccessible | back to summary |
|---|---|
| public static boolean isPackageAccessible(Class<?> clazz) | |
| privateCheckPackageAccess | back to summary |
|---|---|
| private static void privateCheckPackageAccess(SecurityManager s, Class<?> clazz)
References Deprecated
See corresponding docs for further information. Note should only be called if a SecurityManager is installed | |
| privateCheckProxyPackageAccess | back to summary |
|---|---|
| private static void privateCheckProxyPackageAccess(SecurityManager s, Class<?> clazz)
References Deprecated
See corresponding docs for further information. Note should only be called if a SecurityManager is installed | |