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.
  • Method Details

    • 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.