@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple extends Object implements MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver
MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching, MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple
Constructor and Description |
---|
Simple(MethodDescription methodDescription)
Creates a new simple method resolver.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription |
resolve(TypeDescription receiver,
ByteCodeElement.Member original,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the method to substitute with.
|
public Simple(MethodDescription methodDescription)
methodDescription
- The method to substitute with.public MethodDescription resolve(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result)
resolve
in interface MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver
receiver
- The target type on which a member is accessed.original
- The target field, method or constructor that is substituted,parameters
- All parameters that serve as input to this access.result
- The result that is expected from the interaction or void
if no result is expected.Copyright © 2014–2024. All rights reserved.