{"action":"created","issue":{"url":"https://api.github.com/repos/google/j2objc/issues/722","repository_url":"https://api.github.com/repos/google/j2objc","labels_url":"https://api.github.com/repos/google/j2objc/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/google/j2objc/issues/722/comments","events_url":"https://api.github.com/repos/google/j2objc/issues/722/events","html_url":"https://github.com/google/j2objc/issues/722","id":141675854,"number":722,"title":"Support Java 1.8 Type Annotations","user":{"login":"KasparEtter","id":16501371,"avatar_url":"https://avatars.githubusercontent.com/u/16501371?v=3","gravatar_id":"","url":"https://api.github.com/users/KasparEtter","html_url":"https://github.com/KasparEtter","followers_url":"https://api.github.com/users/KasparEtter/followers","following_url":"https://api.github.com/users/KasparEtter/following{/other_user}","gists_url":"https://api.github.com/users/KasparEtter/gists{/gist_id}","starred_url":"https://api.github.com/users/KasparEtter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KasparEtter/subscriptions","organizations_url":"https://api.github.com/users/KasparEtter/orgs","repos_url":"https://api.github.com/users/KasparEtter/repos","events_url":"https://api.github.com/users/KasparEtter/events{/privacy}","received_events_url":"https://api.github.com/users/KasparEtter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-17T18:52:46Z","updated_at":"2016-03-21T17:33:20Z","closed_at":"2016-03-21T17:33:20Z","body":"The \"-source 8\" flag works great for lambda expressions and default methods. Many thanks!\r\n\r\nCould you also support the [type annotations](https://blogs.oracle.com/java-platform-group/entry/java_8_s_new_type) of Java 8? For my case it's actually sufficient if [ElementType.TYPE_USE](https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/ElementType.html#TYPE_USE) in the [Target](https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Target.html) meta-annotation is not rejected by the compiler (\"TYPE_USE cannot be resolved or is not a field\") and all occurrences of type annotations (e.g. `List<@Nonnull String>`) are just ignored during cross-compilation. (Thanks to [Retrolambda](https://github.com/orfjackal/retrolambda), my Java 8 code with such type annotations runs on Android as generic parameters are dropped anyway during compilation.)\r\n\r\nHow complicated is it to solve my problem? As I have no understanding of the J2ObjC codebase, could you at least point me into the direction of the necessary changes if you cannot support type annotations for time or other reasons?\r\n\r\nKeep up the great work, I appreciate it a lot!"},"comment":{"url":"https://api.github.com/repos/google/j2objc/issues/comments/199391815","html_url":"https://github.com/google/j2objc/issues/722#issuecomment-199391815","issue_url":"https://api.github.com/repos/google/j2objc/issues/722","id":199391815,"user":{"login":"tomball","id":2991279,"avatar_url":"https://avatars.githubusercontent.com/u/2991279?v=3","gravatar_id":"","url":"https://api.github.com/users/tomball","html_url":"https://github.com/tomball","followers_url":"https://api.github.com/users/tomball/followers","following_url":"https://api.github.com/users/tomball/following{/other_user}","gists_url":"https://api.github.com/users/tomball/gists{/gist_id}","starred_url":"https://api.github.com/users/tomball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomball/subscriptions","organizations_url":"https://api.github.com/users/tomball/orgs","repos_url":"https://api.github.com/users/tomball/repos","events_url":"https://api.github.com/users/tomball/events{/privacy}","received_events_url":"https://api.github.com/users/tomball/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T17:33:20Z","updated_at":"2016-03-21T17:33:20Z","body":"Fixed in [current source](https://github.com/google/j2objc/commit/5cf46a111f89e3dd32fe08cbabb55b5a8270988b)."}}