public static <T extends ClassLoader> ElementMatcher.Junction<T> isChildOf(ClassLoader classLoader) {
        return classLoader == BOOTSTRAP_CLASSLOADER
                ? new BooleanMatcher<T>(true)
                : ElementMatchers.<T>hasChild(is(classLoader));
    }
public static < T extends ClassLoader > ElementMatcher . Junction < T > isChildOf ( ClassLoader classLoader ) { return classLoader == BOOTSTRAP_CLASSLOADER ? new BooleanMatcher < T > ( true ) : ElementMatchers . < T > hasChild ( is ( classLoader ) ) ; }
Matches any class loader that is either the given class loader or a child of the given class loader.

@param classLoader The class loader of which child class loaders are matched.
@param <T>         The type of the matched object.
@return A matcher that matches the given class loader and any class loader that is a child of the given
class loader.