@@ -48,7 +48,7 @@ void registerReflectiveHintsForMethodHandleSubscribe() throws NoSuchMethodExcept
48
48
.isEqualTo (TypeReference .of (ComplexNotificationTestController .class )), typeHint -> {
49
49
assertThat (typeHint .getType ()).isEqualTo (TypeReference .of (NotificationStatus .class ));
50
50
assertThat (typeHint .getMemberCategories ()).containsExactlyInAnyOrder (
51
- MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .DECLARED_FIELDS );
51
+ MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .ACCESS_DECLARED_FIELDS );
52
52
});
53
53
}
54
54
@@ -63,7 +63,7 @@ void registerReflectiveHintsForMethodHandleNotificationMessage() throws NoSuchMe
63
63
}, typeHint -> {
64
64
assertThat (typeHint .getType ()).isEqualTo (TypeReference .of (Person .class ));
65
65
assertThat (typeHint .getMemberCategories ()).containsExactlyInAnyOrder (
66
- MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .DECLARED_FIELDS );
66
+ MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .ACCESS_DECLARED_FIELDS );
67
67
assertThat (typeHint .methods ()).satisfiesExactlyInAnyOrder (
68
68
hint -> assertThat (hint .getName ()).isEqualTo ("getFirstName" ),
69
69
hint -> assertThat (hint .getName ()).isEqualTo ("setFirstName" ),
@@ -81,7 +81,7 @@ void registerReflectiveHintsForMethodHandleUnsubscribe() throws NoSuchMethodExce
81
81
.isEqualTo (TypeReference .of (ComplexNotificationTestController .class )), typeHint -> {
82
82
assertThat (typeHint .getType ()).isEqualTo (TypeReference .of (NotificationStatus .class ));
83
83
assertThat (typeHint .getMemberCategories ()).containsExactlyInAnyOrder (
84
- MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .DECLARED_FIELDS );
84
+ MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .ACCESS_DECLARED_FIELDS );
85
85
});
86
86
}
87
87
0 commit comments