Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation in provide method #3

Open
dvdciri opened this issue Dec 1, 2017 · 0 comments
Open

Annotation in provide method #3

dvdciri opened this issue Dec 1, 2017 · 0 comments

Comments

@dvdciri
Copy link
Owner

dvdciri commented Dec 1, 2017

If you have something like this, it doesn't pick up the last two dependency of Picasso.


protected Picasso providePicasso(Context context,
                                     AppAvailableFunctions appAvailableFunctions,
                                     OkHttpClientFactory okHttpClientFactory,
                                     @Named("reduced") List<Interceptor> interceptors,
                                     @Named(PICASSO_CACHE) Cache picassoCache) {

This is what it extract:

{
            "name": "Picasso",
            "dependencies": [
              {
                "name": "Context",
                "dependencies": []
              },
              {
                "name": "AppAvailableFunctions",
                "dependencies": []
              },
              {
                "name": "OkHttpClientFactory",
                "dependencies": []
              },
              {
                "name": "Name",
                "dependencies": []
              },
              {
                "name": "reduce",
                "dependencies": []
              }
            ]
          }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant