@Test(expected = NullPointerException.class) public void constructor_binder_cannot_be_null() { ConfigurationBinder.forClass(TestConfiguration.class, null); }
public static <T extends Configuration> ConfigurationBinder<T> forClass(Class<T> klass, Binder binder) { return new ConfigurationBinder<>(klass, binder); }
ConfigurationBinder { public static <T extends Configuration> ConfigurationBinder<T> forClass(Class<T> klass, Binder binder) { return new ConfigurationBinder<>(klass, binder); } }
ConfigurationBinder { public static <T extends Configuration> ConfigurationBinder<T> forClass(Class<T> klass, Binder binder) { return new ConfigurationBinder<>(klass, binder); } ConfigurationBinder(Class<Config> configClass, Binder binder); }
ConfigurationBinder { public static <T extends Configuration> ConfigurationBinder<T> forClass(Class<T> klass, Binder binder) { return new ConfigurationBinder<>(klass, binder); } ConfigurationBinder(Class<Config> configClass, Binder binder); static ConfigurationBinder<T> forClass(Class<T> klass, Binder binder); ConfigurationBinder<Config> annotatedWith(Class<? extends Annotation> annotation); void toInstance(Config configuration); void toFile(String fileName); }
ConfigurationBinder { public static <T extends Configuration> ConfigurationBinder<T> forClass(Class<T> klass, Binder binder) { return new ConfigurationBinder<>(klass, binder); } ConfigurationBinder(Class<Config> configClass, Binder binder); static ConfigurationBinder<T> forClass(Class<T> klass, Binder binder); ConfigurationBinder<Config> annotatedWith(Class<? extends Annotation> annotation); void toInstance(Config configuration); void toFile(String fileName);  }