@@ -48,7 +48,7 @@ void registerReflectiveHintsForMethodHandleSubscribe() throws NoSuchMethodExcept
4848 .isEqualTo (TypeReference .of (ComplexNotificationTestController .class )), typeHint -> {
4949 assertThat (typeHint .getType ()).isEqualTo (TypeReference .of (NotificationStatus .class ));
5050 assertThat (typeHint .getMemberCategories ()).containsExactlyInAnyOrder (
51- MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .DECLARED_FIELDS );
51+ MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .ACCESS_DECLARED_FIELDS );
5252 });
5353 }
5454
@@ -63,7 +63,7 @@ void registerReflectiveHintsForMethodHandleNotificationMessage() throws NoSuchMe
6363 }, typeHint -> {
6464 assertThat (typeHint .getType ()).isEqualTo (TypeReference .of (Person .class ));
6565 assertThat (typeHint .getMemberCategories ()).containsExactlyInAnyOrder (
66- MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .DECLARED_FIELDS );
66+ MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .ACCESS_DECLARED_FIELDS );
6767 assertThat (typeHint .methods ()).satisfiesExactlyInAnyOrder (
6868 hint -> assertThat (hint .getName ()).isEqualTo ("getFirstName" ),
6969 hint -> assertThat (hint .getName ()).isEqualTo ("setFirstName" ),
@@ -81,7 +81,7 @@ void registerReflectiveHintsForMethodHandleUnsubscribe() throws NoSuchMethodExce
8181 .isEqualTo (TypeReference .of (ComplexNotificationTestController .class )), typeHint -> {
8282 assertThat (typeHint .getType ()).isEqualTo (TypeReference .of (NotificationStatus .class ));
8383 assertThat (typeHint .getMemberCategories ()).containsExactlyInAnyOrder (
84- MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .DECLARED_FIELDS );
84+ MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .ACCESS_DECLARED_FIELDS );
8585 });
8686 }
8787
0 commit comments