{"action":"opened","issue":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/358","labels_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/358/comments","events_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/358/events","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/issues/358","id":88419291,"number":358,"title":"PublicReferenceToPrivateTypeCheck: add ignoreWithAnnotations option","user":{"login":"rdiachenko","id":875939,"avatar_url":"https://avatars.githubusercontent.com/u/875939?v=3","gravatar_id":"","url":"https://api.github.com/users/rdiachenko","html_url":"https://github.com/rdiachenko","followers_url":"https://api.github.com/users/rdiachenko/followers","following_url":"https://api.github.com/users/rdiachenko/following{/other_user}","gists_url":"https://api.github.com/users/rdiachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/rdiachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdiachenko/subscriptions","organizations_url":"https://api.github.com/users/rdiachenko/orgs","repos_url":"https://api.github.com/users/rdiachenko/repos","events_url":"https://api.github.com/users/rdiachenko/events{/privacy}","received_events_url":"https://api.github.com/users/rdiachenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-15T12:55:43Z","updated_at":"2015-06-15T12:55:43Z","closed_at":null,"body":"Consider adding a new option (e.g.: ```ignoreWithAnnotations```). The methods marked with any annotation (e.g.: ```@VisibleForTesting```) specified in this option will be ignored for checking.\r\n\r\nReasons:\r\n1. Usually classes and their tests are in the same package so the methods which are tested can have a package access level\r\n2. Even guava has such an annotation (http://guava-libraries.googlecode.com/svn/tags/release09/javadoc/com/google/common/annotations/VisibleForTesting.html)\r\n3. ..."}}