To avoid reading the same file multiple times a soft reference map from commons-util is used, this requires a modification in import-control.xml. Hope this is OK - commons-util is a dependency anyway and is included in checkstyle-all.jar.
enforce which packages can import which packages. I was required to
develop this for a large project to enforce application layering rules.
The check is fairly basic at the moment, but is still sufficiently
powerful to be useful. I am sure there will be feature requests in the
future.