daggraph icon indicating copy to clipboard operation
daggraph copied to clipboard

Annotation in provide method

Open dvdciri opened this issue 7 years ago • 0 comments

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": []
              }
            ]
          }

dvdciri avatar Dec 01 '17 09:12 dvdciri