{"action":"created","issue":{"url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/47","labels_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/47/comments","events_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/47/events","html_url":"https://github.com/mplushnikov/lombok-intellij-plugin/issues/47","id":30710606,"number":47,"title":"Feature request: support onX annotations via @_","user":{"login":"danlangford","id":721364,"avatar_url":"https://avatars.githubusercontent.com/u/721364?v=3","gravatar_id":"","url":"https://api.github.com/users/danlangford","html_url":"https://github.com/danlangford","followers_url":"https://api.github.com/users/danlangford/followers","following_url":"https://api.github.com/users/danlangford/following{/other_user}","gists_url":"https://api.github.com/users/danlangford/gists{/gist_id}","starred_url":"https://api.github.com/users/danlangford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danlangford/subscriptions","organizations_url":"https://api.github.com/users/danlangford/orgs","repos_url":"https://api.github.com/users/danlangford/repos","events_url":"https://api.github.com/users/danlangford/events{/privacy}","received_events_url":"https://api.github.com/users/danlangford/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2014-04-02T18:02:57Z","updated_at":"2015-05-13T00:54:58Z","closed_at":null,"body":"we have used the onX annotations in the past and would love to keep using them in intellij\r\n\r\nhttp://projectlombok.org/features/experimental/onX.html\r\n\r\nwe like to use it like this:\r\n`@RequiredArgsConstructor(onConstructor = @_(@Inject))`\r\n\r\nthis allows us to do constructor level dependency injection without writing a constructor ourself. and with more and more java libraries pushing annotations the need to annotate lombok generated methods will continue to grow. (jersey, ,spring, servlet 3.0, jdo, jpa are all moving to annotation driven config)\r\n\r\ncurrently when i try that the intellij inspection says `cannot find symbol '_'` which is a true statement. in fact if the `@_` type does exist then this feature will not work. see the small print on the link above. it is a hack but should work through jdk 6, 7, and 8 at least.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/comments/101471726","html_url":"https://github.com/mplushnikov/lombok-intellij-plugin/issues/47#issuecomment-101471726","issue_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/47","id":101471726,"user":{"login":"jordanjennings","id":1031913,"avatar_url":"https://avatars.githubusercontent.com/u/1031913?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanjennings","html_url":"https://github.com/jordanjennings","followers_url":"https://api.github.com/users/jordanjennings/followers","following_url":"https://api.github.com/users/jordanjennings/following{/other_user}","gists_url":"https://api.github.com/users/jordanjennings/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanjennings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanjennings/subscriptions","organizations_url":"https://api.github.com/users/jordanjennings/orgs","repos_url":"https://api.github.com/users/jordanjennings/repos","events_url":"https://api.github.com/users/jordanjennings/events{/privacy}","received_events_url":"https://api.github.com/users/jordanjennings/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T00:54:58Z","updated_at":"2015-05-13T00:54:58Z","body":"+1 this would be an awesome feature to have"}}