My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages

JDepChk is a dependency checker for Java virtual machine (JVM) class files. It can be used for any code that runs on the JVM. Highlights:

  • Specify components and dependencies using high-level rules.
  • Transitive dependencies (if B extends A, users of B inherit A).
  • Regular expression matchers and include/exclude lists.
  • Check for accesses to entire classes or individual members.
  • Multiple rule sets loadable from different files.
  • Use annotations, on package-info.java, and on restricted elements.
  • Very fast. Based on a stripped-down version of ASM's class reader.
  • Processes class files one by one (unlike some other such tools).
  • Has an Eclipse plugin with smart error highlighting.

RunningIt has all the details. See VersionHistory for what's new in each release.

JDepChk was directly inspired by Macker, but is a lot faster and easier to use in typical scenarios (due to component-oriented rules).

Powered by Google Project Hosting