github classgraph/classgraph classgraph-4.8.38

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
4 years ago

Behavioral change for the following methods:

  • ScanResult#getClassesWithFieldAnnotation(String annotation)
  • ScanResult#getClassesWithMethodAnnotation(String annotation)
  • ScanResult#getClassesWithMethodParameterAnnotation(String annotation)

Previously, these methods only returned classes that directly contained fields or methods with the requested annotation. As of this release, these methods will also return subclasses of those classes, as long as the field or method is non-private (and therefore inherited, and visible to the subclass).

In other words, this release may give you more results than you obtained previously, if you use any of the above methods.

Thanks to @reitzmichnicht for the request (#350).

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.