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 an
ElementMatcher
after supplying a type description.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A matcher that computes the conjunction of all supplied latent matchers.static class
A matcher that computes the disjunction of all supplied latent matchers.static class
A latent matcher where the field token is being attached to the supplied type description before matching.static class
A latent matcher where the method token is being attached to the supplied type description before matching.static class
A latent matcher for a record component token.static enum
A latent matching methods that are declared by the resolved type.static class
A latent matcher representing an already resolvedElementMatcher
. -
Method Summary
Modifier and TypeMethodDescriptionElementMatcher<? super T>
resolve
(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.
-
Method Details
-
resolve
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.
-