Repository navigation
Release 1.1.2
Full Changelog: 1.1.1...1.1.2
- Added the ability to disable
ClassGraphfunctions- More useful in applications using
ClassGraphbut want to disable these functions (For example: To save on memory allocations) - See
FileUtils#isClassGraphEnabledandFileUtils#setClassGraphEnabled - Effects functions:
detectClasses,getClassesMatchingSuperType,isSubclassOf,getClasses, andgetClassMap
- More useful in applications using
FileUtils#scanClasseshas been merged withFileUtils#getClassMapto avoid redundancy- A flag has also been added to avoid accidental re-scans if the Class Map Results are empty
- See
FileUtils#hasScannedClassesandFileUtils#clearCacheMap(allowReScan::bool?)
- Removed excessive
String#replacecalls fromMappingUtilsFileUtilshas also been adjusted to ensure we are using the canonical path instead of a mix of different names
- Rewritten
FileUtils#isSubclassOfandFileUtils#getClassNamesMatchingSuperTypeto be more performant- Also avoiding unneeded recursion and object creation