Simplify reflection hint registrations for Spring Framework 7.0
ProprietaryRemoves redundant introspection MemberCategory arguments from ReflectionHints#registerType(), ReflectionHints#registerTypeIfPresent(), TypeHint.Builder#withMembers(), and TypeHint#builtWith(). In Spring Framework 7.0, registering a type already enables introspection of its methods, constructors, fields, and nested classes. Field access, invocation, and unsafe allocation categories are preserved. For example, hints.reflection().registerType(MyType.class, MemberCategory.INTROSPECT_DECLARED_METHODS) becomes hints.reflection().registerType(MyType.class).
io. moderne. java. spring. framework7. SimplifyReflectionHintRegistrationmod run . --recipe= io. moderne. java. spring. framework7. SimplifyReflectionHintRegistrationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.