This method of the ReflectionPermission Class retrieves the types of classes that the permission object allows public access to.
public int getAllowedPublicAccess();
Returns the types of classes that the permission object allows public access to. This will be one of the following: SAMELOADER, DIFFERENTLOADER, SYSTEMLOADER, ALL, or NONE.