private void assertExclusionsUseClasses(Map<String, CompiledClass> classes,
      Set<String> exclusions, List<String> referencedClasses) {
    for (String className : exclusions) {
      boolean foundOne = false;
      CompiledClass excludedClass = classes.get(className);
      for (String referencedClass : referencedClasses) {
        if (excludedClass.refersToClass(referencedClass)) {
          foundOne = true;
          break;
        }
      }
      assertThat(foundOne).withFailMessage(className + " no longer references restricted "
          + "classes and should be removed from this tests exclusion list");
    }
  }
Ensure that the classes in the exclusions list still reference restricted classes.
geode-core/src/integrationTest/java/org/apache/geode/codeAnalysis/RestrictUseOfInetAddressJUnitTest.java