@HashCodeAndEqualsPlugin.Enhance public static class Advice.OffsetMapping.ForField.Unresolved.WithExplicitType 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 |
WithExplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation,
TypeDescription declaringType)
Creates an offset mapping for a field with an explicit declaring type.
|
|
WithExplicitType(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
String name,
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
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.public WithExplicitType(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name, 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.OffsetMapping.ForField.Unresolved
fieldLocator
in class Advice.OffsetMapping.ForField.Unresolved
instrumentedType
- The instrumented type.Copyright © 2014–2020. All rights reserved.