{"action":"closed","issue":{"url":"https://api.github.com/repos/square/javapoet/issues/247","labels_url":"https://api.github.com/repos/square/javapoet/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/square/javapoet/issues/247/comments","events_url":"https://api.github.com/repos/square/javapoet/issues/247/events","html_url":"https://github.com/square/javapoet/issues/247","id":62022079,"number":247,"title":"API for annotation construction","user":{"login":"vbauer","id":578021,"avatar_url":"https://avatars.githubusercontent.com/u/578021?v=3","gravatar_id":"","url":"https://api.github.com/users/vbauer","html_url":"https://github.com/vbauer","followers_url":"https://api.github.com/users/vbauer/followers","following_url":"https://api.github.com/users/vbauer/following{/other_user}","gists_url":"https://api.github.com/users/vbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/vbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbauer/subscriptions","organizations_url":"https://api.github.com/users/vbauer/orgs","repos_url":"https://api.github.com/users/vbauer/repos","events_url":"https://api.github.com/users/vbauer/events{/privacy}","received_events_url":"https://api.github.com/users/vbauer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T09:25:12Z","updated_at":"2015-03-16T10:57:07Z","closed_at":"2015-03-16T10:57:07Z","body":"I faced with critical issue in my project: it is necessary to construct annotation classes, but as I can see it is impossible to do.. `TypeSpec` class does not have this feature:\r\n\r\n* TypeSpec.interfaceBuilder\r\n* TypeSpec.classBuilder\r\n* TypeSpec.enumBuilder\r\n* TypeSpec.anonymousClassBuilder\r\n\r\nIt will be great to have something like `TypeSpec.annotationBuilder` or an additional flag for `TypeSpec.interfaceBuilder`."}}