public class ClassLoaderParentMatcher<T extends ClassLoader> extends Object implements ElementMatcher<T>
ElementMatcher.Junction<S>| Constructor and Description | 
|---|
| ClassLoaderParentMatcher(ClassLoader classLoader)Creates a class loader parent element matcher. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| boolean | matches(T target)Matches a target against this element matcher. | 
| String | toString() | 
public ClassLoaderParentMatcher(ClassLoader classLoader)
classLoader - The class loader that is matched for being a child of the matched class loader.public boolean matches(T target)
ElementMatchermatches in interface ElementMatcher<T extends ClassLoader>target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.Copyright © 2014–2015. All rights reserved.