@Test public void testMatchBootstrap() throws Exception { assertThat(new ClassLoaderParentMatcher<ClassLoader>(child).matches(null), is(true)); }
public boolean matches(T target) { ClassLoader current = classLoader; while (current != null) { if (current == target) { return true; } current = current.getParent(); } return target == null; }
ClassLoaderParentMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { ClassLoader current = classLoader; while (current != null) { if (current == target) { return true; } current = current.getParent(); } return target == null; } }
ClassLoaderParentMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { ClassLoader current = classLoader; while (current != null) { if (current == target) { return true; } current = current.getParent(); } return target == null; } ClassLoaderParentMatcher(ClassLoader classLoader); }
ClassLoaderParentMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { ClassLoader current = classLoader; while (current != null) { if (current == target) { return true; } current = current.getParent(); } return target == null; } ClassLoaderParentMatcher(ClassLoader classLoader); boolean matches(T target); @Override String toString(); }
ClassLoaderParentMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { ClassLoader current = classLoader; while (current != null) { if (current == target) { return true; } current = current.getParent(); } return target == null; } ClassLoaderParentMatcher(ClassLoader classLoader); boolean matches(T target); @Override String toString();  }