HHH-14828 Fix incorrect logging in FieldAccessEnhancer

This commit is contained in:
Yoann Rodière 2021-09-17 16:47:49 +02:00 committed by Sanne Grinovero
parent 01c130e6e5
commit f7bcd1d9cf
1 changed files with 4 additions and 4 deletions

View File

@ -77,11 +77,11 @@ final class FieldAccessEnhancer implements AsmVisitorWrapper.ForDeclaredMethods.
&& !field.getName().equals( "this$0" ) ) { && !field.getName().equals( "this$0" ) ) {
log.debugf( log.debugf(
"Extended enhancement: Transforming access to field [%s.%s] from method [%s#%s]", "Extended enhancement: Transforming access to field [%s#%s] from method [%s#%s()]",
field.getType().asErasure(), declaredOwnerType.getName(),
field.getName(), field.getName(),
field.getName(), instrumentedType.getName(),
name instrumentedMethod.getName()
); );
switch ( opcode ) { switch ( opcode ) {