code: @CheckReturnValue
      public RoleManager setPermissions(Collection<Permission> permissions)
      {
          Checks.noneNull(permissions, "Permissions");
          return setPermissions(Permission.getRaw(permissions));
      }
docs: Sets the {@link net.dv8tion.jda.core.Permission Permissions} of the selected {@link net.dv8tion.jda.core.entities.Role Role}.
  
  <p>Permissions may only include already present Permissions for the currently logged in account.
  <br>You are unable to give permissions you don't have!
  
  @param  permissions
  The new permission for the selected {@link net.dv8tion.jda.core.entities.Role Role}
  
  @throws net.dv8tion.jda.core.exceptions.InsufficientPermissionException
  If the currently logged in account does not have permission to apply one of the specified permissions
  @throws java.lang.IllegalArgumentException
  If any of the provided values is {@code null}
  
  @return RoleManager for chaining convenience
  
  @see    #setPermissions(Permission...)
  @see    #setPermissions(long)
  @see    java.util.EnumSet EnumSet
  @see    net.dv8tion.jda.core.Permission#getRaw(java.util.Collection) Permission.getRaw(Collection)