private static boolean exemptedByName(Name name) {
    return Ascii.toLowerCase(name.toString()).startsWith(EXEMPT_PREFIX);
  }
@Test
  public void exemptedByName() {
    helper
        .addSourceLines(
            "Unuseds.java",
            "package unusedvars;",
            "class ExemptedByName {",
            "  private void unused1("
                + "     int a, int unusedParam, "
                + "     int customUnused1, int customUnused2, "
                + "     int prefixUnused1Param, int prefixUnused2Param"
                + "  ) {",
            "    int unusedLocal = a;",
            "  }",
            "}")
        .setArgs(
            "-XepOpt:Unused:exemptNames=customUnused1,customUnused2",
            "-XepOpt:Unused:exemptPrefixes=prefixunused1,prefixunused2")
        .doTest();
  }