public static enum Advice.OffsetMapping.ForInstrumentedType extends Enum<Advice.OffsetMapping.ForInstrumentedType> implements Advice.OffsetMapping
Advice.OffsetMapping.Factory<T extends Annotation>, Advice.OffsetMapping.ForAllArguments, Advice.OffsetMapping.ForArgument, Advice.OffsetMapping.ForDynamicConstant, Advice.OffsetMapping.ForEnterValue, Advice.OffsetMapping.ForExitValue, Advice.OffsetMapping.ForField, Advice.OffsetMapping.ForFieldHandle, Advice.OffsetMapping.ForHandle, Advice.OffsetMapping.ForInstrumentedMethod, Advice.OffsetMapping.ForInstrumentedType, Advice.OffsetMapping.ForLocalValue, Advice.OffsetMapping.ForOrigin, Advice.OffsetMapping.ForReturnValue, Advice.OffsetMapping.ForSelfCallHandle, Advice.OffsetMapping.ForSerializedValue, Advice.OffsetMapping.ForStackManipulation, Advice.OffsetMapping.ForStubValue, Advice.OffsetMapping.ForThisReference, Advice.OffsetMapping.ForThrowable, Advice.OffsetMapping.ForUnusedValue, Advice.OffsetMapping.Sort, Advice.OffsetMapping.Target| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Advice.OffsetMapping.Target |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Assigner assigner,
Advice.ArgumentHandler argumentHandler,
Advice.OffsetMapping.Sort sort)
Resolves an offset mapping to a given target offset.
|
static Advice.OffsetMapping.ForInstrumentedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.OffsetMapping.ForInstrumentedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.OffsetMapping.ForInstrumentedType INSTANCE
public static Advice.OffsetMapping.ForInstrumentedType[] values()
for (Advice.OffsetMapping.ForInstrumentedType c : Advice.OffsetMapping.ForInstrumentedType.values()) System.out.println(c);
public static Advice.OffsetMapping.ForInstrumentedType 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 Advice.OffsetMapping.Target resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort)
resolve in interface Advice.OffsetMappinginstrumentedType - The instrumented type.instrumentedMethod - The instrumented method for which the mapping is to be resolved.assigner - The assigner to use.argumentHandler - The argument handler to use for resolving offsets of the local variable array of the instrumented method.sort - The sort of the advice method being resolved.Copyright © 2014–2025. All rights reserved.