Package net.bytebuddy.asm
Interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
-
- All Known Implementing Classes:
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.ForField.Resolved,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithImplicitType,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.WithExplicitType,MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.WithImplicitType,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
- Enclosing class:
- MemberSubstitution.Substitution.Chain.Step.ForDelegation
public static interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMappingAn offset mapping for binding a parameter or dispatch target for the method or constructor that is delegated to.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<T extends java.lang.annotation.Annotation>A factory for creating an offset mapping based on an annotation on a parameter, method or constructor.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArgumentsAn offset mapping that assigns an array containing all arguments to the annotated parameter.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgumentAn offset mapping that assigns an argument of either the instrumented method or the substituted expression.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrentAn offset mapping that assigns the value of the previous chain instruction.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstantAn offset mapping for a dynamic constant.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldAn offset mapping for a field value.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandleAn offset mapping for a method handle representing a field getter or setter.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandleAn offset mapping that resolves a method handle.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOriginAn offset mapping for describing a representation of the substituted element or the instrumented method.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandleAn offset mapping resolving a method handle to invoke the original expression or the instrumented method.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulationAn offset mapping that resolves a given stack manipulation.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValueAn offset mapping that assigns a stub value.static classMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReferenceAn offset mapping that assigns thethisreference.static interfaceMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ResolvedAn offset mapping that was resolved for a given instrumented type and method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolvedresolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves an offset mapping for a given instrumented method.
-
-
-
Method Detail
-
resolve
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.- Parameters:
assigner- The assigner to use.typing- The typing to use if no explicit typing is specified.instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.- Returns:
- A resolved version of this offset mapping.
-
-