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:
@@ -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