public static class Advice.OffsetMapping.ForField.Unresolved.WithImplicitType extends Advice.OffsetMapping.ForField.Unresolved
Advice.OffsetMapping.ForField.Unresolved.Factory, Advice.OffsetMapping.ForField.Unresolved.WithExplicitType, Advice.OffsetMapping.ForField.Unresolved.WithImplicitType
Advice.OffsetMapping.ForField.Resolved, Advice.OffsetMapping.ForField.Unresolved
Advice.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.Target
Modifier | Constructor and Description |
---|---|
protected |
WithImplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation)
Creates an offset mapping for a field with an implicit declaring type.
|
|
WithImplicitType(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
String name)
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.
|
resolve
resolve
protected WithImplicitType(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.FieldValue> annotation)
target
- The target type.annotation
- The annotation to represent.public WithImplicitType(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name)
target
- The target type.name
- The name of the field.readOnly
- true
if the field is read-only.typing
- The typing to apply.protected FieldLocator fieldLocator(TypeDescription instrumentedType)
Advice.OffsetMapping.ForField.Unresolved
fieldLocator
in class Advice.OffsetMapping.ForField.Unresolved
instrumentedType
- The instrumented type.Copyright © 2014–2020. All rights reserved.