{"action":"created","issue":{"url":"https://api.github.com/repos/square/javapoet/issues/365","labels_url":"https://api.github.com/repos/square/javapoet/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/square/javapoet/issues/365/comments","events_url":"https://api.github.com/repos/square/javapoet/issues/365/events","html_url":"https://github.com/square/javapoet/pull/365","id":114580434,"number":365,"title":"AnnotationSpec.get(Class<Annotation>) and Builder.addMember/Value added.","user":{"login":"sormuras","id":2319838,"avatar_url":"https://avatars.githubusercontent.com/u/2319838?v=3","gravatar_id":"","url":"https://api.github.com/users/sormuras","html_url":"https://github.com/sormuras","followers_url":"https://api.github.com/users/sormuras/followers","following_url":"https://api.github.com/users/sormuras/following{/other_user}","gists_url":"https://api.github.com/users/sormuras/gists{/gist_id}","starred_url":"https://api.github.com/users/sormuras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sormuras/subscriptions","organizations_url":"https://api.github.com/users/sormuras/orgs","repos_url":"https://api.github.com/users/sormuras/repos","events_url":"https://api.github.com/users/sormuras/events{/privacy}","received_events_url":"https://api.github.com/users/sormuras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-02T11:56:37Z","updated_at":"2015-12-21T08:13:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/square/javapoet/pulls/365","html_url":"https://github.com/square/javapoet/pull/365","diff_url":"https://github.com/square/javapoet/pull/365.diff","patch_url":"https://github.com/square/javapoet/pull/365.patch"},"body":"Better place, IMHO.\r\n\r\nFound a false positive test case, as well. The code in `TypeSpecTest.java` line 242 mis-used the format string to pass a boolean value.\r\n\r\nImplemented proposed factory methods from #362 here as: `AnnotationSpec.get`"},"comment":{"url":"https://api.github.com/repos/square/javapoet/issues/comments/166229600","html_url":"https://github.com/square/javapoet/pull/365#issuecomment-166229600","issue_url":"https://api.github.com/repos/square/javapoet/issues/365","id":166229600,"user":{"login":"sormuras","id":2319838,"avatar_url":"https://avatars.githubusercontent.com/u/2319838?v=3","gravatar_id":"","url":"https://api.github.com/users/sormuras","html_url":"https://github.com/sormuras","followers_url":"https://api.github.com/users/sormuras/followers","following_url":"https://api.github.com/users/sormuras/following{/other_user}","gists_url":"https://api.github.com/users/sormuras/gists{/gist_id}","starred_url":"https://api.github.com/users/sormuras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sormuras/subscriptions","organizations_url":"https://api.github.com/users/sormuras/orgs","repos_url":"https://api.github.com/users/sormuras/repos","events_url":"https://api.github.com/users/sormuras/events{/privacy}","received_events_url":"https://api.github.com/users/sormuras/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T08:13:55Z","updated_at":"2015-12-21T08:13:55Z","body":"I'll split this PR into two separate PRs:\r\n* move `private static Builder addAnnotationValue(Builder builder, String name, Object value)` to the `Annotation.Builder` class, keeping it (package) private.\r\n* add convenient `get(Object...)` factory"}}