public class ArgumentTypeNameMatch extends Object implements net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription>
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(net.bytebuddy.description.method.MethodDescription target)
Match the target method.
|
static net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription> |
takesArgumentWithType(int index,
String argumentTypeName)
The static method to create
ArgumentTypeNameMatch
This is a delegate method to follow byte-buddy ElementMatcher's code style. |
public boolean matches(net.bytebuddy.description.method.MethodDescription target)
matches in interface net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription>target - target method description.public static net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription> takesArgumentWithType(int index,
String argumentTypeName)
ArgumentTypeNameMatch
This is a delegate method to follow byte-buddy ElementMatcher's code style.index - the index of arguments list.argumentTypeName - target argument typeArgumentTypeNameMatch instance.Copyright © 2019 The Apache Software Foundation. All rights reserved.