@HashCodeAndEqualsPlugin.Enhance public abstract static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
Modifier and Type | Class and Description |
---|---|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved
An offset mapping for a resolved field access.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
An offset mapping for an unresolved field value.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<T extends Annotation>, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference
Modifier | Constructor and Description |
---|---|
protected |
ForField(TypeDescription.Generic target,
Assigner.Typing typing)
Creates an offset mapping for a field value.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved |
resolve(Assigner assigner,
Assigner.Typing typing,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves an offset mapping for a given instrumented method.
|
protected abstract FieldDescription |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves a description of the field being accessed.
|
protected ForField(TypeDescription.Generic target, @MaybeNull Assigner.Typing typing)
target
- A description of the targeted type.typing
- The typing to use or null
if implicit typing.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
resolve
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
assigner
- The assigner to use.typing
- The typing to use if no explicit typing is specified.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.protected abstract FieldDescription resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2024. All rights reserved.