protected static class Advice.Dispatcher.OffsetMapping.ForField.WithImplicitType 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.ForBoxedArguments, Advice.Dispatcher.OffsetMapping.ForBoxedReturnValue, Advice.Dispatcher.OffsetMapping.ForEnterValue, Advice.Dispatcher.OffsetMapping.ForField, Advice.Dispatcher.OffsetMapping.ForInstrumentedMethod, Advice.Dispatcher.OffsetMapping.ForInstrumentedType, Advice.Dispatcher.OffsetMapping.ForOrigin, Advice.Dispatcher.OffsetMapping.ForParameter, 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, targetType
Modifier | Constructor and Description |
---|---|
protected |
WithImplicitType(String name,
TypeDescription targetType,
boolean readOnly)
Creates an offset mapping for a field with an implicit declaring type.
|
Modifier and Type | Method and Description |
---|---|
protected FieldLocator |
fieldLocator(TypeDescription instrumentedType)
Returns a field locator for this instance.
|
String |
toString() |
equals, hashCode, resolve
protected WithImplicitType(String name, TypeDescription targetType, boolean readOnly)
name
- The name of the field.targetType
- The expected type that the field can be assigned to.readOnly
- true
if the field is read-only.protected FieldLocator fieldLocator(TypeDescription instrumentedType)
Advice.Dispatcher.OffsetMapping.ForField
fieldLocator
in class Advice.Dispatcher.OffsetMapping.ForField
instrumentedType
- The instrumented type.Copyright © 2014–2016. All rights reserved.