Top Fields Constructors Methods
org.codehaus.groovy.reflection

pack-priv final Class AccessPermissionChecker

extends Object
Class Inheritance
Imports
groovy.lang.GroovyObject, java.lang.reflect.Constructor, .Field, .Method, .Modifier, .ReflectPermission, java.security.AccessControlException

Field Summary

Modifier and TypeField and Description
private static final ReflectPermission

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
checkAccessPermission(Class<?> declaringClass, final int modifiers, boolean isAccessible)

pack-priv static void
pack-priv static void
pack-priv static void
private static CacheAccessControlException
createCacheAccessControlExceptionOf(Method method, AccessControlException e)

Deprecated as a consequence of AccessControlException being deprecated.
private static CacheAccessControlException
createCacheAccessControlExceptionOf(Constructor<T> constructor, AccessControlException e)

Deprecated as a consequence of AccessControlException being deprecated.
private static CacheAccessControlException
createCacheAccessControlExceptionOf(Field field, AccessControlException e)

Deprecated as a consequence of AccessControlException being deprecated.
private static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

REFLECT_PERMISSIONback to summary
private static final ReflectPermission REFLECT_PERMISSION

Constructor Detail

AccessPermissionCheckerback to summary
private AccessPermissionChecker()

Method Detail

checkAccessPermissionback to summary
private static void checkAccessPermission(Class<?> declaringClass, final int modifiers, boolean isAccessible)
checkAccessPermissionback to summary
pack-priv static void checkAccessPermission(Method method)
checkAccessPermissionback to summary
pack-priv static void checkAccessPermission(Constructor<T> constructor)
checkAccessPermissionback to summary
pack-priv static void checkAccessPermission(Field field)
createCacheAccessControlExceptionOfback to summary
private static CacheAccessControlException createCacheAccessControlExceptionOf(Method method, AccessControlException e)

Deprecated

as a consequence of AccessControlException being deprecated. See corresponding docs for further information.

createCacheAccessControlExceptionOfback to summary
private static CacheAccessControlException createCacheAccessControlExceptionOf(Constructor<T> constructor, AccessControlException e)

Deprecated

as a consequence of AccessControlException being deprecated. See corresponding docs for further information.

createCacheAccessControlExceptionOfback to summary
private static CacheAccessControlException createCacheAccessControlExceptionOf(Field field, AccessControlException e)

Deprecated

as a consequence of AccessControlException being deprecated. See corresponding docs for further information.

packageCanNotBeAddedAnotherClassback to summary
private static boolean packageCanNotBeAddedAnotherClass(Class<?> declaringClass)