@HashCodeAndEqualsPlugin.Enhance public static class Advice.OffsetMapping.ForArgument.Resolved extends Advice.OffsetMapping.ForArgument
| Modifier and Type | Class and Description |
|---|---|
static class |
Advice.OffsetMapping.ForArgument.Resolved.Factory<T extends Annotation>
A factory for a parameter argument of the instrumented method.
|
Advice.OffsetMapping.ForArgument.Resolved, Advice.OffsetMapping.ForArgument.UnresolvedAdvice.OffsetMapping.ForAllArguments, Advice.OffsetMapping.ForArgument, Advice.OffsetMapping.ForEnterValue, Advice.OffsetMapping.ForExitValue, Advice.OffsetMapping.ForField, Advice.OffsetMapping.ForInstrumentedMethod, Advice.OffsetMapping.ForInstrumentedType, Advice.OffsetMapping.ForLocalValue, Advice.OffsetMapping.ForOrigin, Advice.OffsetMapping.ForReturnValue, Advice.OffsetMapping.ForSerializedValue, Advice.OffsetMapping.ForStackManipulation, Advice.OffsetMapping.ForStubValue, Advice.OffsetMapping.ForThisReference, Advice.OffsetMapping.ForThrowable, Advice.OffsetMapping.ForUnusedValue, Advice.OffsetMapping.Sort, Advice.OffsetMapping.TargetreadOnly, target| Constructor and Description |
|---|
Resolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
ParameterDescription parameterDescription)
Creates an offset mapping that binds a parameter of the instrumented method.
|
| Modifier and Type | Method and Description |
|---|---|
protected ParameterDescription |
resolve(MethodDescription instrumentedMethod)
Resolves the bound parameter.
|
resolvepublic Resolved(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, ParameterDescription parameterDescription)
target - The type expected by the advice method.readOnly - Determines if the parameter is to be treated as read-only.typing - The typing to apply.parameterDescription - The parameter being bound.protected ParameterDescription resolve(MethodDescription instrumentedMethod)
Advice.OffsetMapping.ForArgumentresolve in class Advice.OffsetMapping.ForArgumentinstrumentedMethod - The instrumented method.Copyright © 2014–2019. All rights reserved.