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.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.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.OffsetMapping
An 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 interface
MemberSubstitution.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 class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments
An offset mapping that assigns an array containing all arguments to the annotated parameter.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument
An offset mapping that assigns an argument of either the instrumented method or the substituted expression.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent
An offset mapping that assigns the value of the previous chain instruction.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
An offset mapping for a field value.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle
An offset mapping for a method handle representing a field getter or setter.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin
An offset mapping for describing a representation of the substituted element or the instrumented method.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle
An offset mapping resolving a method handle to invoke the original expression or the instrumented method.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation
An offset mapping that resolves a given stack manipulation.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue
An offset mapping that assigns a stub value.static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference
An offset mapping that assigns thethis
reference.static interface
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
An 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.Resolved
resolve(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.
-
-