T - The type of the annotation.public static interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<T extends Annotation>
| Modifier and Type | Interface and Description |
|---|---|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<S extends Annotation>
An abstract base implementation of a factory for an offset mapping.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.Simple<S extends Annotation>
A simple factory for an offset mapping.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly<S extends Annotation>
A factory for an offset mapping that does not support binding a method target.
|
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getAnnotationType()
Returns the type of the annotation for this factory.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping |
make(MethodDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> 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<T> annotation)
Creates an offset mapping for a parameter of the method or constructor that is the delegation target.
|
Class<T> getAnnotationType()
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<T> annotation)
target - The method that is the delegated to.annotation - The annotation that was found on the method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(ParameterDescription.InDefinedShape target, AnnotationDescription.Loadable<T> annotation)
target - The parameter that is bound to an expression.annotation - The annotation that was found on the parameter.Copyright © 2014–2025. All rights reserved.