@Test public void testDoNotBindNonResourceClasses() { boolean isBound = underTest.bind(String.class, null); assertThat(isBound).isFalse(); }
@Override public boolean bind(Class<?> component, Set<Class<?>> providerContracts) { boolean isBound = false; if (isJaxRsClass(component)) { registerBindingsInHK2(component, providerContracts); isBound = true; } return isBound; }
GuiceComponentProvider implements ComponentProvider { @Override public boolean bind(Class<?> component, Set<Class<?>> providerContracts) { boolean isBound = false; if (isJaxRsClass(component)) { registerBindingsInHK2(component, providerContracts); isBound = true; } return isBound; } }
GuiceComponentProvider implements ComponentProvider { @Override public boolean bind(Class<?> component, Set<Class<?>> providerContracts) { boolean isBound = false; if (isJaxRsClass(component)) { registerBindingsInHK2(component, providerContracts); isBound = true; } return isBound; }  }
GuiceComponentProvider implements ComponentProvider { @Override public boolean bind(Class<?> component, Set<Class<?>> providerContracts) { boolean isBound = false; if (isJaxRsClass(component)) { registerBindingsInHK2(component, providerContracts); isBound = true; } return isBound; }  void initialize(InjectionManager injectionManager); @Override boolean bind(Class<?> component, Set<Class<?>> providerContracts); @Override void done(); }
GuiceComponentProvider implements ComponentProvider { @Override public boolean bind(Class<?> component, Set<Class<?>> providerContracts) { boolean isBound = false; if (isJaxRsClass(component)) { registerBindingsInHK2(component, providerContracts); isBound = true; } return isBound; }  void initialize(InjectionManager injectionManager); @Override boolean bind(Class<?> component, Set<Class<?>> providerContracts); @Override void done();  }