code: public static final void assertRules(final Dependencies dependencies, final File classesDir) {
          Utils4J.checkNotNull("dependencies", dependencies);
          Utils4J.checkNotNull("classesDir", classesDir);
          Utils4J.checkValidDir(classesDir);
          try {
              final DependencyAnalyzer analyzer = new DependencyAnalyzer(dependencies);
              assertIntern(classesDir, analyzer);
          } catch (final InvalidDependenciesDefinitionException ex) {
              throw new RuntimeException(ex);
          }
      }
docs: Asserts that a set of dependency rules is kept.
  
  @param dependencies
  Definition of allowed or forbidden dependencies - Cannot be <code>null</code>.
  @param classesDir
  Directory with the ".class" files to check - Cannot be <code>null</code> and must be a valid directory.