T - The type of the annotation.@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfDynamicInvocation<T extends Annotation> extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<T>
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 |
|---|
OfDynamicInvocation(Class<T> annotationType,
MethodDescription.InDefinedShape bootstrapMethod,
List<? extends JavaConstant> arguments)
Creates a factory for an offset mapping that assigns the result of a dynamic method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getAnnotationType()
Returns the type of the annotation for this factory.
|
protected MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping |
make(TypeDescription.Generic target,
AnnotationDescription.Loadable<T> annotation)
Returns an offset mapping for the bound method target or parameter.
|
make, makepublic OfDynamicInvocation(Class<T> annotationType, MethodDescription.InDefinedShape bootstrapMethod, List<? extends JavaConstant> arguments)
annotationType - The annotation type.bootstrapMethod - The bootstrap method to use.arguments - The constants to provide to the bootstrap method.public Class<T> getAnnotationType()
protected MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(TypeDescription.Generic target, AnnotationDescription.Loadable<T> annotation)
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBasemake in class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<T extends 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–2023. All rights reserved.