public static < T extends ClassLoader > ElementMatcher . Junction < T > isParentOf ( ClassLoader classLoader ) { return classLoader == BOOTSTRAP_CLASSLOADER ? ElementMatchers . < T > isBootstrapClassLoader ( ) : new ClassLoaderParentMatcher < T > ( classLoader ) ; }
Matches any class loader that is either the given class loader or a parent of the given class loader .