code: private Set<Role> getOtherRolesArg(Object[] arguments) {
          if (arguments.length <= NEW_ROLES_INDEX) {
              log.error("Illegal number of args: " + arguments.length);
          }
  
          Set<Role> roles = new HashSet<Role>();
          Object[] rolesArray = (Object[]) arguments[NEW_ROLES_INDEX];
          if (null != rolesArray && rolesArray.length > 0) {
              for (Object role : rolesArray) {
                  roles.add((Role) role);
              }
          }
  
          return roles;
      }
docs: This method returns roles argument of in the target method invocation.