1.1 - [API Change] Added generics, ClassFinder and Enums
API Change:
The BetterReflectionClass now uses generics to assign a class type
Enums:
Added support for enum classes through the EnumBetterReflectionClass, with the following methods
- #getEnumConstants()
- contains(String)
- getIfPresent(String)
- getOrNull(String)
- getOrDefault(String, T)
- toString(String)
- toString()
Added a ClassFinder: find and iterate through a java program's classes (both IDE runtime and packed jar)
This class deprecates BetterReflectionUtils#getClassesInPackage(String)
Added unit tests for the ClassFinder class