{"action":"created","issue":{"url":"https://api.github.com/repos/INRIA/spoon/issues/2014","repository_url":"https://api.github.com/repos/INRIA/spoon","labels_url":"https://api.github.com/repos/INRIA/spoon/issues/2014/labels{/name}","comments_url":"https://api.github.com/repos/INRIA/spoon/issues/2014/comments","events_url":"https://api.github.com/repos/INRIA/spoon/issues/2014/events","html_url":"https://github.com/INRIA/spoon/issues/2014","id":327764309,"node_id":"MDU6SXNzdWUzMjc3NjQzMDk=","number":2014,"title":"[question] method call hierarchy","user":{"login":"bilak","id":5826062,"node_id":"MDQ6VXNlcjU4MjYwNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/5826062?v=4","gravatar_id":"","url":"https://api.github.com/users/bilak","html_url":"https://github.com/bilak","followers_url":"https://api.github.com/users/bilak/followers","following_url":"https://api.github.com/users/bilak/following{/other_user}","gists_url":"https://api.github.com/users/bilak/gists{/gist_id}","starred_url":"https://api.github.com/users/bilak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilak/subscriptions","organizations_url":"https://api.github.com/users/bilak/orgs","repos_url":"https://api.github.com/users/bilak/repos","events_url":"https://api.github.com/users/bilak/events{/privacy}","received_events_url":"https://api.github.com/users/bilak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":78,"created_at":"2018-05-30T14:44:42Z","updated_at":"2018-06-06T12:42:11Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI'm new to spoon and I'm wondering if following is possible to do with spoon.\r\n\r\nI have method `externalServiceCall(...)` which is called from many places in my application. Can I have call hierarchy **to** this method?\r\nWhat I want to achieve is that I will generate mappings of my [@RestController](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/RestController.html) to `externalServiceCall(...)`.\r\n\r\nthis is what I'm thinking about:\r\n- get all calls of method `externalServiceCall(...)`\r\n- from all methods extracted from previous step extract first parameter which is some enumeration implementing `Service` interface  (with this I can extract the name of service)\r\n- continue with call hierarchy of `externalServiceCall(...)` and go upper until I find some annotation on method. In this case I'm searching for spring's [@RequestMapping](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/RequestMapping.html)\r\n\r\nSo in final I can have something like:\r\n\r\n- EXTERNAL_SERVICE1:\r\n    -   GET /endpoint1\r\n    -   POST /endpoint1/{id}\r\n- EXTERNAL_SERVICE2:\r\n    -   DELETE: /endpoint1\r\n    -   DELETE: /endpoint2\r\n\r\nthis is example of how the externalService call looks like `externalServiceCall(ProductServiceEnum.GET_DETAIL, request)`\r\n\r\n\r\n..."},"comment":{"url":"https://api.github.com/repos/INRIA/spoon/issues/comments/395054531","html_url":"https://github.com/INRIA/spoon/issues/2014#issuecomment-395054531","issue_url":"https://api.github.com/repos/INRIA/spoon/issues/2014","id":395054531,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTA1NDUzMQ==","user":{"login":"tdurieux","id":5577568,"node_id":"MDQ6VXNlcjU1Nzc1Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/5577568?v=4","gravatar_id":"","url":"https://api.github.com/users/tdurieux","html_url":"https://github.com/tdurieux","followers_url":"https://api.github.com/users/tdurieux/followers","following_url":"https://api.github.com/users/tdurieux/following{/other_user}","gists_url":"https://api.github.com/users/tdurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/tdurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdurieux/subscriptions","organizations_url":"https://api.github.com/users/tdurieux/orgs","repos_url":"https://api.github.com/users/tdurieux/repos","events_url":"https://api.github.com/users/tdurieux/events{/privacy}","received_events_url":"https://api.github.com/users/tdurieux/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T12:42:11Z","updated_at":"2018-06-06T12:42:11Z","author_association":"COLLABORATOR","body":"I understood the problem, it is not related to the classpath :/ I will do a PR.\r\n\r\nBut I could fix this bug: `/home/lvasek/.m2/repository/${project/groupId}/spring-data-commons/1.13.7.RELEASE` thanks to your log (${project/groupId} it is not good."}}
{"actor":{"display_login":"tdurieux"}}