{"action":"created","issue":{"url":"https://api.github.com/repos/CodeNarc/CodeNarc/issues/179","repository_url":"https://api.github.com/repos/CodeNarc/CodeNarc","labels_url":"https://api.github.com/repos/CodeNarc/CodeNarc/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/CodeNarc/CodeNarc/issues/179/comments","events_url":"https://api.github.com/repos/CodeNarc/CodeNarc/issues/179/events","html_url":"https://github.com/CodeNarc/CodeNarc/issues/179","id":186263188,"number":179,"title":"UnusedPrivateMethodRule to skip method with @PostConstruct annotation","user":{"login":"ychulovskyy","id":350366,"avatar_url":"https://avatars.githubusercontent.com/u/350366?v=3","gravatar_id":"","url":"https://api.github.com/users/ychulovskyy","html_url":"https://github.com/ychulovskyy","followers_url":"https://api.github.com/users/ychulovskyy/followers","following_url":"https://api.github.com/users/ychulovskyy/following{/other_user}","gists_url":"https://api.github.com/users/ychulovskyy/gists{/gist_id}","starred_url":"https://api.github.com/users/ychulovskyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ychulovskyy/subscriptions","organizations_url":"https://api.github.com/users/ychulovskyy/orgs","repos_url":"https://api.github.com/users/ychulovskyy/repos","events_url":"https://api.github.com/users/ychulovskyy/events{/privacy}","received_events_url":"https://api.github.com/users/ychulovskyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-31T11:39:18Z","updated_at":"2016-11-10T08:50:33Z","closed_at":null,"body":"The problem is that we have test with Spring context.\r\nWe use methods like:\r\n````\r\n@PostConstruct\r\nprivate void init() {\r\n    myService.init()\r\n}\r\n````\r\nto init some values before tests.\r\nIt causes violation since CodeNarc doesn't know about Spring annotations.\r\n\r\nIs it possible to ignore methods with @PostConstruct annotations?\r\nOr add property to the rule to ignore methods with a name or with an annotation?\r\n\r\nPlease respond what implementation is OK with you.\r\nI can implement it."},"comment":{"url":"https://api.github.com/repos/CodeNarc/CodeNarc/issues/comments/259634057","html_url":"https://github.com/CodeNarc/CodeNarc/issues/179#issuecomment-259634057","issue_url":"https://api.github.com/repos/CodeNarc/CodeNarc/issues/179","id":259634057,"user":{"login":"ychulovskyy","id":350366,"avatar_url":"https://avatars.githubusercontent.com/u/350366?v=3","gravatar_id":"","url":"https://api.github.com/users/ychulovskyy","html_url":"https://github.com/ychulovskyy","followers_url":"https://api.github.com/users/ychulovskyy/followers","following_url":"https://api.github.com/users/ychulovskyy/following{/other_user}","gists_url":"https://api.github.com/users/ychulovskyy/gists{/gist_id}","starred_url":"https://api.github.com/users/ychulovskyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ychulovskyy/subscriptions","organizations_url":"https://api.github.com/users/ychulovskyy/orgs","repos_url":"https://api.github.com/users/ychulovskyy/repos","events_url":"https://api.github.com/users/ychulovskyy/events{/privacy}","received_events_url":"https://api.github.com/users/ychulovskyy/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T08:50:33Z","updated_at":"2016-11-10T08:50:33Z","body":"Resolved and merged into master. Milestone 0.27.0."}}
{"actor":{"display_login":"ychulovskyy"}}