@HashCodeAndEqualsPlugin.Enhance public abstract static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
Modifier and Type | Class and Description |
---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.Factory
A factory for creating an offset mapping for a field value.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType
An offset mapping for an unresolved field value with an explicit declaring type.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithImplicitType
An offset mapping for an unresolved field with an implicit declaring type.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference
Modifier and Type | Field and Description |
---|---|
protected static String |
BEAN_PROPERTY
Indicates that the name of the field should be inferred from the instrumented method's name as a bean property.
|
Modifier | Constructor and Description |
---|---|
protected |
Unresolved(TypeDescription.Generic target,
Assigner.Typing typing,
String name)
Creates an offset mapping for the value of an unresolved field.
|
Modifier and Type | Method and Description |
---|---|
protected abstract FieldLocator |
fieldLocator(TypeDescription instrumentedType)
Creates a field locator for the instrumented type.
|
protected FieldDescription |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves a description of the field being accessed.
|
resolve
protected static final String BEAN_PROPERTY
protected Unresolved(TypeDescription.Generic target, Assigner.Typing typing, String name)
target
- A description of the targeted type.typing
- The typing to use.name
- The name of the field being accessed or an empty string if the name of the field should be inferred.protected FieldDescription resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
resolve
in class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.protected abstract FieldLocator fieldLocator(TypeDescription instrumentedType)
instrumentedType
- The instrumented type.Copyright © 2014–2024. All rights reserved.