@HashCodeAndEqualsPlugin.Enhance public static class LatentMatcher.ForMethodToken extends Object implements LatentMatcher<MethodDescription>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LatentMatcher.ForMethodToken.ResolvedMatcher
A resolved matcher of a latent method matcher for a method token.
|
LatentMatcher.Conjunction<S>, LatentMatcher.Disjunction<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.ForRecordComponentToken, LatentMatcher.ForSelfDeclaredMethod, LatentMatcher.Resolved<S>| Constructor and Description |
|---|
ForMethodToken(MethodDescription.Token token)
Creates a new latent matcher for a method token.
|
| Modifier and Type | Method and Description |
|---|---|
ElementMatcher<? super MethodDescription> |
resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
|
public ForMethodToken(MethodDescription.Token token)
token - A token representing the method being matched.public ElementMatcher<? super MethodDescription> resolve(TypeDescription typeDescription)
resolve in interface LatentMatcher<MethodDescription>typeDescription - The type description for which the represented matcher should be resolved.ElementMatcher that represents this matcher's resolved form.Copyright © 2014–2025. All rights reserved.