public static interface MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver
Modifier and Type | Interface and Description |
---|---|
static class |
MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching
A method resolver that locates a non-static method by locating it from the receiver type.
|
static class |
MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple
A simple method resolver that returns a given method.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription |
resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the method to substitute with.
|
MethodDescription resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)
targetType
- The target type on which a member is accessed.target
- 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–2019. All rights reserved.