Package net.bytebuddy.asm
Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved
java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved
- All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
@Enhance
public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved
extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
An offset mapping for a resolved field access.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.Factory<T extends Annotation>
A factory for creating a resolved offset mapping of a field value.Nested classes/interfaces inherited from class net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
Nested classes/interfaces inherited from interface net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
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.ForDynamicConstant, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle, 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FieldDescription
A description of the field being accessed. -
Constructor Summary
ConstructorsConstructorDescriptionResolved
(TypeDescription.Generic target, Assigner.Typing typing, FieldDescription fieldDescription) Creates a resolved offset mapping for a field access. -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldDescription
resolve
(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.Methods inherited from class net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
resolve
-
Field Details
-
fieldDescription
A description of the field being accessed.
-
-
Constructor Details
-
Resolved
public Resolved(TypeDescription.Generic target, Assigner.Typing typing, FieldDescription fieldDescription) Creates a resolved offset mapping for a field access.- Parameters:
target
- A description of the targeted type.typing
- The typing to use ornull
if implicit typing.fieldDescription
- A description of the field accessed.
-
-
Method Details
-
resolve
protected FieldDescription resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Description copied from class:MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
Resolves a description of the field being accessed.- Specified by:
resolve
in classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.- Returns:
- A description of the field being accessed.
-