Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Detect module injection #29

Open
BelooS opened this issue Jun 28, 2017 · 0 comments
Open

Detect module injection #29

BelooS opened this issue Jun 28, 2017 · 0 comments

Comments

@BelooS
Copy link

BelooS commented Jun 28, 2017

Asume you have @Inject annotation over class constructor
The plugin shows other classes where that class is injected, but doesn't show any injection into module.

For example, this class is only injected to module mapping:

     class ProfileCountriesFacade implements ProfileFacade {

        private final ProfileService profileService;
        private final CountriesService countriesService;

        @Inject
        ProfileCountriesFacade(ProfileService profileService,
                               CountriesService countriesService) {
            this.profileService = profileService;
            this.countriesService = countriesService;
        }
    }

picture to show view

declared mapping in module:

@Module
public class ProfileFacadeModule {
    @Provides
    ProfileFacade provideProfileCountriesFacade(ProfileCountriesFacade profileFacade) {
        return profileFacade;
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant