T - The annotation type this factory binds.@HashCodeAndEqualsPlugin.Enhance public static class Advice.OffsetMapping.ForStackManipulation.OfAnnotationProperty<T extends Annotation> extends Object implements Advice.OffsetMapping.Factory<T>
Advice.OffsetMapping.Factory.AdviceType, Advice.OffsetMapping.Factory.Illegal<T extends Annotation>, Advice.OffsetMapping.Factory.Simple<T extends Annotation>| Modifier | Constructor and Description | 
|---|---|
| protected  | OfAnnotationProperty(Class<T> annotationType,
                    MethodDescription.InDefinedShape property)Creates a factory for binding an annotation property. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<T> | getAnnotationType()Returns the annotation type of this factory. | 
| Advice.OffsetMapping | make(ParameterDescription.InDefinedShape target,
    AnnotationDescription.Loadable<T> annotation,
    Advice.OffsetMapping.Factory.AdviceType adviceType)Creates a new offset mapping for the supplied parameter if possible. | 
| static <S extends Annotation> | of(Class<S> annotationType,
  String property)Creates a factory for an offset mapping that binds an annotation property. | 
protected OfAnnotationProperty(Class<T> annotationType, MethodDescription.InDefinedShape property)
annotationType - The annotation type.property - The annotation property.public static <S extends Annotation> Advice.OffsetMapping.Factory<S> of(Class<S> annotationType, String property)
S - The annotation type.annotationType - The annotation type to bind.property - The property to bind.public Class<T> getAnnotationType()
getAnnotationType in interface Advice.OffsetMapping.Factory<T extends Annotation>public Advice.OffsetMapping make(ParameterDescription.InDefinedShape target, AnnotationDescription.Loadable<T> annotation, Advice.OffsetMapping.Factory.AdviceType adviceType)
make in interface Advice.OffsetMapping.Factory<T extends Annotation>target - The parameter description for which to resolve an offset mapping.annotation - The annotation that triggered this factory.adviceType - true if the binding is applied using advice method delegation.null if no mapping can be resolved for this parameter.Copyright © 2014–2021. All rights reserved.