Package net.bytebuddy.matcher
Interface LatentMatcher<T>
-
- Type Parameters:
T
- The type of the matched element.
- All Known Implementing Classes:
FieldRegistry.Default.Entry
,InliningImplementationMatcher
,LatentMatcher.Conjunction
,LatentMatcher.Disjunction
,LatentMatcher.ForFieldToken
,LatentMatcher.ForMethodToken
,LatentMatcher.ForRecordComponentToken
,LatentMatcher.ForSelfDeclaredMethod
,LatentMatcher.Resolved
,MethodRegistry.Default.Entry
,RecordComponentRegistry.Default.Entry
,SubclassDynamicTypeBuilder.InstrumentableMatcher
public interface LatentMatcher<T>
A latent matcher that resolves anElementMatcher
after supplying a type description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LatentMatcher.Conjunction<S>
A matcher that computes the conjunction of all supplied latent matchers.static class
LatentMatcher.Disjunction<S>
A matcher that computes the disjunction of all supplied latent matchers.static class
LatentMatcher.ForFieldToken
A latent matcher where the field token is being attached to the supplied type description before matching.static class
LatentMatcher.ForMethodToken
A latent matcher where the method token is being attached to the supplied type description before matching.static class
LatentMatcher.ForRecordComponentToken
A latent matcher for a record component token.static class
LatentMatcher.ForSelfDeclaredMethod
A latent matching methods that are declared by the resolved type.static class
LatentMatcher.Resolved<S>
A latent matcher representing an already resolvedElementMatcher
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElementMatcher<? super T>
resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
-
-
-
Method Detail
-
resolve
ElementMatcher<? super T> resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.- Parameters:
typeDescription
- The type description for which the represented matcher should be resolved.- Returns:
- An
ElementMatcher
that represents this matcher's resolved form.
-
-