S
- The type of the represented annotation.public abstract static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<S extends Annotation> extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S>
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 and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
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.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping |
make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<S> annotation)
Creates an offset mapping for a parameter of the method or constructor that is the delegation target.
|
protected abstract MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping |
make(TypeDescription.Generic target,
AnnotationDescription.Loadable<S> annotation)
Returns an offset mapping for the bound method target or parameter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationType
public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<S> annotation)
make
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S extends Annotation>
target
- The method that is the delegated to.annotation
- The annotation that was found on the method.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(ParameterDescription.InDefinedShape target, AnnotationDescription.Loadable<S> annotation)
make
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S extends Annotation>
target
- The parameter that is bound to an expression.annotation
- The annotation that was found on the parameter.protected abstract MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(TypeDescription.Generic target, AnnotationDescription.Loadable<S> annotation)
target
- The declaring type of a non-static method or a parameter type.annotation
- The annotation that was found on the method or parameter.Copyright © 2014–2025. All rights reserved.