{"action":"created","issue":{"url":"https://api.github.com/repos/google/auto/issues/188","labels_url":"https://api.github.com/repos/google/auto/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/google/auto/issues/188/comments","events_url":"https://api.github.com/repos/google/auto/issues/188/events","html_url":"https://github.com/google/auto/pull/188","id":57478367,"number":188,"title":"Add helpers for getting fields and methods from a TypeElement.","user":{"login":"dankurka","id":540913,"avatar_url":"https://avatars.githubusercontent.com/u/540913?v=3","gravatar_id":"","url":"https://api.github.com/users/dankurka","html_url":"https://github.com/dankurka","followers_url":"https://api.github.com/users/dankurka/followers","following_url":"https://api.github.com/users/dankurka/following{/other_user}","gists_url":"https://api.github.com/users/dankurka/gists{/gist_id}","starred_url":"https://api.github.com/users/dankurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankurka/subscriptions","organizations_url":"https://api.github.com/users/dankurka/orgs","repos_url":"https://api.github.com/users/dankurka/repos","events_url":"https://api.github.com/users/dankurka/events{/privacy}","received_events_url":"https://api.github.com/users/dankurka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/auto/labels/cla:%20no","name":"cla: no","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-12T15:55:38Z","updated_at":"2015-02-12T16:12:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/auto/pulls/188","html_url":"https://github.com/google/auto/pull/188","diff_url":"https://github.com/google/auto/pull/188.diff","patch_url":"https://github.com/google/auto/pull/188.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/google/auto/issues/comments/74098489","html_url":"https://github.com/google/auto/pull/188#issuecomment-74098489","issue_url":"https://api.github.com/repos/google/auto/issues/188","id":74098489,"user":{"login":"eamonnmcmanus","id":5246810,"avatar_url":"https://avatars.githubusercontent.com/u/5246810?v=3","gravatar_id":"","url":"https://api.github.com/users/eamonnmcmanus","html_url":"https://github.com/eamonnmcmanus","followers_url":"https://api.github.com/users/eamonnmcmanus/followers","following_url":"https://api.github.com/users/eamonnmcmanus/following{/other_user}","gists_url":"https://api.github.com/users/eamonnmcmanus/gists{/gist_id}","starred_url":"https://api.github.com/users/eamonnmcmanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eamonnmcmanus/subscriptions","organizations_url":"https://api.github.com/users/eamonnmcmanus/orgs","repos_url":"https://api.github.com/users/eamonnmcmanus/repos","events_url":"https://api.github.com/users/eamonnmcmanus/events{/privacy}","received_events_url":"https://api.github.com/users/eamonnmcmanus/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T16:12:58Z","updated_at":"2015-02-12T16:12:58Z","body":"The cunningly-concealed javax.lang.model.util.ElementFilter does the work of some of these methods. I wonder if it wouldn't be better to expose something like\r\n```java\r\n  public static Predicate<Element> hasModifier(Modifier)\r\n```\r\nfor the others, so callers could do the Iterables.filter thing themselves."}}