Look at the class Modules. There is a method "override"
Usage:
Modules.override(new WriterModule()).with(new AbcWriterModule())
On 29.01.19 12:21, Sammy wrote:
Hi,
I got below final module
public final class WriterModuleextends AbstractModule {
with below provides
Hi,
I got below final module
public final class WriterModule extends AbstractModule {
with below provides
@ProvidesIntoOptional(Type.DEFAULT)
public TopicNameFactory provideDefaultTopicNameFactory() {
return new TopicNameFactory.Default();
}
This is from in-house library which can't be