github classgraph/classgraph classgraph-4.4.7

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

Add new Info object types for packages and modules:

These can be used to:

  • read annotations on package descriptors (package-info.java) and module descriptors (module-info.java)
  • find all the classes within a given package or module
  • find all packages within a given module.

The following methods were added to ScanResult to get PackageInfo and ModuleInfo objects:

  • PackageInfoList ScanResult#getPackageInfo()
  • PackageInfo ScanResult#getPackageInfo(String packageName)
  • ModuleInfoList ScanResult#getModuleInfo()
  • ModuleInfo ScanResult#getModuleInfo(String moduleName)

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.