}
return cascade;
}
private RestrictionsInheritancePolicy checkRestrictionsInheritancePolicy(RestrictionsWrapper methodRestrictions) {
RestrictionsInheritancePolicy inheritancePolicy = RestrictionsInheritancePolicy.INHERIT;
// if (methodRestrictions.hasRestrictions()) {
if (methodRestrictions.getInheritRestrictions() == null) {
inheritancePolicy = RestrictionsInheritancePolicy.CHECK_RESOURCE;
} else {