@Test public void testBootstrapClass() { assertTrue(this.bootstrapClassPredicate.test("java.lang.String")); assertTrue(this.bootstrapClassPredicate.test("java.lang.Object")); assertTrue(this.bootstrapClassPredicate.test("java.lang.System")); }
@Override public boolean test(String s) { try { this.classLoaderForBootstrapClasses.loadClass(s); return true; } catch (ClassNotFoundException | NoClassDefFoundError e) { return false; } }
BootstrapClassPredicate implements Predicate<String> { @Override public boolean test(String s) { try { this.classLoaderForBootstrapClasses.loadClass(s); return true; } catch (ClassNotFoundException | NoClassDefFoundError e) { return false; } } }
BootstrapClassPredicate implements Predicate<String> { @Override public boolean test(String s) { try { this.classLoaderForBootstrapClasses.loadClass(s); return true; } catch (ClassNotFoundException | NoClassDefFoundError e) { return false; } } BootstrapClassPredicate(); }
BootstrapClassPredicate implements Predicate<String> { @Override public boolean test(String s) { try { this.classLoaderForBootstrapClasses.loadClass(s); return true; } catch (ClassNotFoundException | NoClassDefFoundError e) { return false; } } BootstrapClassPredicate(); @Override boolean test(String s); }
BootstrapClassPredicate implements Predicate<String> { @Override public boolean test(String s) { try { this.classLoaderForBootstrapClasses.loadClass(s); return true; } catch (ClassNotFoundException | NoClassDefFoundError e) { return false; } } BootstrapClassPredicate(); @Override boolean test(String s);  }