Class ClassFileLocator.Filtering

java.lang.Object
net.bytebuddy.dynamic.ClassFileLocator.Filtering
All Implemented Interfaces:
Closeable, AutoCloseable, ClassFileLocator
Enclosing interface:
ClassFileLocator

@Enhance public static class ClassFileLocator.Filtering extends Object implements ClassFileLocator
A class file locator that only applies for matched names.
  • Field Details

    • matcher

      private final ElementMatcher<? super String> matcher
      The matcher to determine if the delegate matcher is considered.
    • delegate

      private final ClassFileLocator delegate
      The delegate class file locator.
  • Constructor Details

    • Filtering

      public Filtering(ElementMatcher<? super String> matcher, ClassFileLocator delegate)
      Creates a new filtering class file locator.
      Parameters:
      matcher - The matcher to determine if the delegate matcher is considered.
      delegate - The delegate class file locator.
  • Method Details