@HashCodeAndEqualsPlugin.Enhance public abstract static class Advice.OffsetMapping.ForField.Unresolved extends Advice.OffsetMapping.ForField
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Advice.OffsetMapping.ForField.Unresolved.Factory
A factory for a
Advice.OffsetMapping.ForArgument.Unresolved offset mapping. |
static class |
Advice.OffsetMapping.ForField.Unresolved.WithExplicitType
An offset mapping for a field with an explicit declaring type.
|
static class |
Advice.OffsetMapping.ForField.Unresolved.WithImplicitType
An offset mapping for a field with an implicit declaring type.
|
Advice.OffsetMapping.ForField.Resolved, Advice.OffsetMapping.ForField.UnresolvedAdvice.OffsetMapping.ForAllArguments, Advice.OffsetMapping.ForArgument, Advice.OffsetMapping.ForEnterValue, Advice.OffsetMapping.ForExitValue, Advice.OffsetMapping.ForField, Advice.OffsetMapping.ForInstrumentedMethod, Advice.OffsetMapping.ForInstrumentedType, Advice.OffsetMapping.ForLocalValue, Advice.OffsetMapping.ForOrigin, Advice.OffsetMapping.ForReturnValue, 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 |
|---|
Unresolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
String name)
Creates an offset mapping for a field that is not yet resolved.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract FieldLocator |
fieldLocator(TypeDescription instrumentedType)
Returns a field locator for this instance.
|
protected FieldDescription |
resolve(TypeDescription instrumentedType)
Resolves the field being bound.
|
resolvepublic Unresolved(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name)
target - The target type.readOnly - true if this mapping is read-only.typing - The typing to apply.name - The name of the field.protected FieldDescription resolve(TypeDescription instrumentedType)
Advice.OffsetMapping.ForFieldresolve in class Advice.OffsetMapping.ForFieldinstrumentedType - The instrumented type.protected abstract FieldLocator fieldLocator(TypeDescription instrumentedType)
instrumentedType - The instrumented type.Copyright © 2014–2019. All rights reserved.