@HashCodeAndEqualsPlugin.Enhance public static class Advice.OffsetMapping.ForField.Resolved extends Advice.OffsetMapping.ForField
Modifier and Type | Class and Description |
---|---|
static class |
Advice.OffsetMapping.ForField.Resolved.Factory<T extends Annotation>
A factory that binds a field.
|
Advice.OffsetMapping.ForField.Resolved, Advice.OffsetMapping.ForField.Unresolved
Advice.OffsetMapping.ForAllArguments, Advice.OffsetMapping.ForArgument, Advice.OffsetMapping.ForEnterValue, Advice.OffsetMapping.ForExitValue, Advice.OffsetMapping.ForField, Advice.OffsetMapping.ForFieldHandle, Advice.OffsetMapping.ForInstrumentedMethod, Advice.OffsetMapping.ForInstrumentedType, Advice.OffsetMapping.ForLocalValue, Advice.OffsetMapping.ForOrigin, Advice.OffsetMapping.ForReturnValue, Advice.OffsetMapping.ForSelfCallHandle, Advice.OffsetMapping.ForSerializedValue, Advice.OffsetMapping.ForStackManipulation, Advice.OffsetMapping.ForStubValue, Advice.OffsetMapping.ForThisReference, Advice.OffsetMapping.ForThrowable, Advice.OffsetMapping.ForUnusedValue, Advice.OffsetMapping.Sort, Advice.OffsetMapping.Target
Constructor and Description |
---|
Resolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
FieldDescription fieldDescription)
Creates a resolved offset mapping for a field.
|
Modifier and Type | Method and Description |
---|---|
protected FieldDescription |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the field being bound.
|
resolve
public Resolved(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, FieldDescription fieldDescription)
target
- The target type.readOnly
- true
if this mapping is read-only.typing
- The typing to apply.fieldDescription
- The accessed field.protected FieldDescription resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Advice.OffsetMapping.ForField
resolve
in class Advice.OffsetMapping.ForField
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2025. All rights reserved.