2014-08-17

Fast, lightweight Java classpath scanner

I just released an uber-fast, ultra-lightweight Java classpath scanner:

This classpath scanner is able to scan directories and jar/zip files on the classpath to locate:

  • classes that subclass a given class or one of its subclasses
  • classes that implement an interface or one of its subinterfaces
  • classes that have a given annotation
  • file paths (even for non-classfiles) anywhere on the classpath that match a given regexp.

The project is here: https://github.com/lukehutch/fast-classpath-scanner

No comments:

Post a Comment