Class LatentMatcher.Resolved<S>
java.lang.Object
net.bytebuddy.matcher.LatentMatcher.Resolved<S>
- Type Parameters:
S- The type of the matched element.
- All Implemented Interfaces:
LatentMatcher<S>
- Enclosing interface:
LatentMatcher<T>
A latent matcher representing an already resolved
ElementMatcher.-
Nested Class Summary
Nested classes/interfaces inherited from interface LatentMatcher
LatentMatcher.Conjunction<S>, LatentMatcher.Disjunction<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.ForRecordComponentToken, LatentMatcher.ForSelfDeclaredMethod, LatentMatcher.Resolved<S> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResolved(ElementMatcher<? super S> matcher) Creates a new resolved latent matcher. -
Method Summary
Modifier and TypeMethodDescriptionElementMatcher<? super S> resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.
-
Field Details
-
matcher
The resolved matcher.
-
-
Constructor Details
-
Resolved
Creates a new resolved latent matcher.- Parameters:
matcher- The resolved matcher.
-
-
Method Details
-
resolve
Resolves the element matcher this instance represents for the supplied type description.- Specified by:
resolvein interfaceLatentMatcher<S>- Parameters:
typeDescription- The type description for which the represented matcher should be resolved.- Returns:
- An
ElementMatcherthat represents this matcher's resolved form.
-