@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Provides
Mark a factory method of a module (any class) that can be used to create bean instance. The factory method could be annotated with Qualifier annotations like Named to provide some differentiation to injection
Qualifier
Named
Copyright © 2017. All Rights Reserved.