protected static enum Advice.OffsetMapping.ForThisReference.Factory extends Enum<Advice.OffsetMapping.ForThisReference.Factory> implements Advice.OffsetMapping.Factory<Advice.This>
Advice.OffsetMapping.ForThisReference offset mapping.Advice.OffsetMapping.Factory.AdviceType, Advice.OffsetMapping.Factory.Illegal<T extends Annotation>, Advice.OffsetMapping.Factory.Simple<T extends Annotation>| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<Advice.This> | getAnnotationType()Returns the annotation type of this factory. | 
| Advice.OffsetMapping | make(ParameterDescription.InDefinedShape target,
    AnnotationDescription.Loadable<Advice.This> annotation,
    Advice.OffsetMapping.Factory.AdviceType adviceType)Creates a new offset mapping for the supplied parameter if possible. | 
| static Advice.OffsetMapping.ForThisReference.Factory | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Advice.OffsetMapping.ForThisReference.Factory[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Advice.OffsetMapping.ForThisReference.Factory INSTANCE
public static Advice.OffsetMapping.ForThisReference.Factory[] values()
for (Advice.OffsetMapping.ForThisReference.Factory c : Advice.OffsetMapping.ForThisReference.Factory.values()) System.out.println(c);
public static Advice.OffsetMapping.ForThisReference.Factory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class<Advice.This> getAnnotationType()
getAnnotationType in interface Advice.OffsetMapping.Factory<Advice.This>public Advice.OffsetMapping make(ParameterDescription.InDefinedShape target, AnnotationDescription.Loadable<Advice.This> annotation, Advice.OffsetMapping.Factory.AdviceType adviceType)
make in interface Advice.OffsetMapping.Factory<Advice.This>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–2025. All rights reserved.