Package net.bytebuddy.asm
Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType
- java.lang.Object
-
- net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
-
- net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
-
- net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType
-
- All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
- Enclosing class:
- MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
@Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
An offset mapping for an unresolved field value with an explicit declaring type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.Factory, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithImplicitType
-
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
Fields Modifier and Type Field Description private TypeDescription
declaringType
The field's declaring type.-
Fields inherited from class net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
BEAN_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WithExplicitType(TypeDescription.Generic target, AnnotationDescription.Loadable<MemberSubstitution.FieldValue> annotation, TypeDescription declaringType)
Creates an offset mapping for the value of an unresolved field with an explicit declaring type.WithExplicitType(TypeDescription.Generic target, Assigner.Typing typing, java.lang.String name, TypeDescription declaringType)
Creates an offset mapping for the value of an unresolved field with an explicit declaring type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FieldLocator
fieldLocator(TypeDescription instrumentedType)
Creates a field locator for the instrumented type.-
Methods inherited from class net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
resolve
-
Methods inherited from class net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
resolve
-
-
-
-
Field Detail
-
declaringType
private final TypeDescription declaringType
The field's declaring type.
-
-
Constructor Detail
-
WithExplicitType
protected WithExplicitType(TypeDescription.Generic target, AnnotationDescription.Loadable<MemberSubstitution.FieldValue> annotation, TypeDescription declaringType)
Creates an offset mapping for the value of an unresolved field with an explicit declaring type.- Parameters:
target
- A description of the targeted type.annotation
- The annotation describing the field access.declaringType
- The field's declaring type.
-
WithExplicitType
public WithExplicitType(TypeDescription.Generic target, Assigner.Typing typing, java.lang.String name, TypeDescription declaringType)
Creates an offset mapping for the value of an unresolved field with an explicit declaring type.- Parameters:
target
- A description of the targeted type.typing
- The typing to use.name
- The name of the field being accessed or an empty string if the name of the field should be inferred.declaringType
- The field's declaring type.
-
-
Method Detail
-
fieldLocator
protected FieldLocator fieldLocator(TypeDescription instrumentedType)
Description copied from class:MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
Creates a field locator for the instrumented type.- Specified by:
fieldLocator
in classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
- Parameters:
instrumentedType
- The instrumented type.- Returns:
- An appropriate field locator.
-
-