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 anElementMatcherafter supplying a type description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLatentMatcher.Conjunction<S>A matcher that computes the conjunction of all supplied latent matchers.static classLatentMatcher.Disjunction<S>A matcher that computes the disjunction of all supplied latent matchers.static classLatentMatcher.ForFieldTokenA latent matcher where the field token is being attached to the supplied type description before matching.static classLatentMatcher.ForMethodTokenA latent matcher where the method token is being attached to the supplied type description before matching.static classLatentMatcher.ForRecordComponentTokenA latent matcher for a record component token.static classLatentMatcher.ForSelfDeclaredMethodA latent matching methods that are declared by the resolved type.static classLatentMatcher.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
ElementMatcherthat represents this matcher's resolved form.
-
-