code: void checkNoMods(long mods) {
          if (mods != 0) {
              long lowestMod = mods & -mods;
              error(token.pos, "mod.not.allowed.here",
                      Flags.asFlagSet(lowestMod));
          }
      }
docs: Diagnose a modifier flag from the set, if any.