Arrays.asList(method.getMethod().getAnnotations());
if (method.containsAnnotation(AccessLevel.class)) {
permissionData = method.getMethod().getAnnotation(AccessLevel.class).value();
}
for (Class<? extends SimpleBrutauthRule> permission : permissions) {
SimpleBrutauthRule rule = container.instanceFor(permission);
RuleHandler handler = handlers.getHandler(rule);
if(!rule.isAllowed(permissionData)){
handler.handle();
return;
}
}
stack.next(method, resourceInstance);