protected static class Advice.Dispatcher.OffsetMapping.ForField.WithExplicitType extends Advice.Dispatcher.OffsetMapping.ForField
Advice.Dispatcher.OffsetMapping.ForField.Factory, Advice.Dispatcher.OffsetMapping.ForField.WithExplicitType, Advice.Dispatcher.OffsetMapping.ForField.WithImplicitType
Advice.Dispatcher.OffsetMapping.Context, Advice.Dispatcher.OffsetMapping.ForAllArguments, Advice.Dispatcher.OffsetMapping.ForArgument, Advice.Dispatcher.OffsetMapping.ForEnterValue, Advice.Dispatcher.OffsetMapping.ForField, Advice.Dispatcher.OffsetMapping.ForInstrumentedMethod, Advice.Dispatcher.OffsetMapping.ForInstrumentedType, Advice.Dispatcher.OffsetMapping.ForOrigin, Advice.Dispatcher.OffsetMapping.ForReturnValue, Advice.Dispatcher.OffsetMapping.ForStubValue, Advice.Dispatcher.OffsetMapping.ForThisReference, Advice.Dispatcher.OffsetMapping.ForThrowable, Advice.Dispatcher.OffsetMapping.ForUnusedValue, Advice.Dispatcher.OffsetMapping.ForUserValue<T extends Annotation>, Advice.Dispatcher.OffsetMapping.Illegal, Advice.Dispatcher.OffsetMapping.Target
name, readOnly, target, typing
Modifier | Constructor and Description |
---|---|
protected |
WithExplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation,
TypeDescription declaringType)
Creates an offset mapping for a field with an explicit declaring type.
|
protected |
WithExplicitType(TypeDescription.Generic target,
String name,
boolean readOnly,
Assigner.Typing typing,
TypeDescription declaringType)
Creates an offset mapping for a field with an explicit declaring type.
|
Modifier and Type | Method and Description |
---|---|
protected FieldLocator |
fieldLocator(TypeDescription instrumentedType)
Returns a field locator for this instance.
|
resolve
protected WithExplicitType(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.FieldValue> annotation, TypeDescription declaringType)
target
- The target type.annotation
- The annotation to represent.declaringType
- The field's declaring type.protected WithExplicitType(TypeDescription.Generic target, String name, boolean readOnly, Assigner.Typing typing, TypeDescription declaringType)
target
- The target type.name
- The name of the field.readOnly
- true
if the field is read-only.typing
- The typing to apply.declaringType
- The field's declaring type.protected FieldLocator fieldLocator(TypeDescription instrumentedType)
Advice.Dispatcher.OffsetMapping.ForField
fieldLocator
in class Advice.Dispatcher.OffsetMapping.ForField
instrumentedType
- The instrumented type.Copyright © 2014–2017. All rights reserved.