Class ClassLoaderMatcher


  • public final class ClassLoaderMatcher
    extends Object
    • Field Detail

      • BOOTSTRAP_CLASSLOADER

        public static final @Nullable ClassLoader BOOTSTRAP_CLASSLOADER
    • Method Detail

      • hasClassesNamed

        public static net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<ClassLoader> hasClassesNamed​(String... classNames)
        NOTICE: Does not match the bootstrap classpath. Don't use with classes expected to be on the bootstrap.
        Parameters:
        classNames - list of names to match. returns true if empty.
        Returns:
        true if class is available as a resource and not the bootstrap classloader.