mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Fix hints and predicates for Field reflective access
This commit revisits the arrangement for Field hints after changes made in gh-34239. Closes gh-34294
This commit is contained in:
+2
-2
@@ -243,13 +243,13 @@ enum InstrumentedMethod {
|
||||
* {@link Field#get(Object)}.
|
||||
*/
|
||||
FIELD_GET(Field.class, "get", HintType.REFLECTION,
|
||||
invocation -> reflection().onFieldInvocation(invocation.getInstance())),
|
||||
invocation -> reflection().onFieldAccess(invocation.getInstance())),
|
||||
|
||||
/**
|
||||
* {@link Field#set(Object, Object)}.
|
||||
*/
|
||||
FIELD_SET(Field.class, "set", HintType.REFLECTION,
|
||||
invocation -> reflection().onFieldInvocation(invocation.getInstance())),
|
||||
invocation -> reflection().onFieldAccess(invocation.getInstance())),
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user