Package net.bytebuddy.asm
Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly<S extends Annotation>
java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly<S>
- Type Parameters:
S
- The type of the represented annotation.
- All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S>
- Direct Known Subclasses:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfAnnotationProperty
- Enclosing interface:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<T extends Annotation>
public abstract static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly<S extends Annotation>
extends Object
implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S>
A factory for an offset mapping that does not support binding a method target.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<S extends Annotation>, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.Simple<S extends Annotation>, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly<S extends Annotation>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmake
(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<S> annotation) Creates an offset mapping for an annotation that was found on a non-static method.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory
getAnnotationType, make
-
Constructor Details
-
WithParameterSupportOnly
public WithParameterSupportOnly()
-
-
Method Details
-
make
public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<S> annotation) Creates an offset mapping for an annotation that was found on a non-static method.- Specified by:
make
in interfaceMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S extends Annotation>
- Parameters:
target
- The method that is the delegated to.annotation
- The annotation that was found on the method.- Returns:
- An appropriate offset mapping.
-