{"action":"created","issue":{"url":"https://api.github.com/repos/vvakame/JsonPullParser/issues/41","labels_url":"https://api.github.com/repos/vvakame/JsonPullParser/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/vvakame/JsonPullParser/issues/41/comments","events_url":"https://api.github.com/repos/vvakame/JsonPullParser/issues/41/events","html_url":"https://github.com/vvakame/JsonPullParser/issues/41","id":104448996,"number":41,"title":"入れ子のクラスと同名のクラスが同一パッケージに存在する場合ビルドエラーになる","user":{"login":"keiji","id":932136,"avatar_url":"https://avatars.githubusercontent.com/u/932136?v=3","gravatar_id":"","url":"https://api.github.com/users/keiji","html_url":"https://github.com/keiji","followers_url":"https://api.github.com/users/keiji/followers","following_url":"https://api.github.com/users/keiji/following{/other_user}","gists_url":"https://api.github.com/users/keiji/gists{/gist_id}","starred_url":"https://api.github.com/users/keiji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keiji/subscriptions","organizations_url":"https://api.github.com/users/keiji/orgs","repos_url":"https://api.github.com/users/keiji/repos","events_url":"https://api.github.com/users/keiji/events{/privacy}","received_events_url":"https://api.github.com/users/keiji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T10:28:15Z","updated_at":"2015-09-03T03:36:33Z","closed_at":null,"body":"#6 に関連して\r\n\r\n現象再現用のクラス\r\n\r\nHelloクラス\r\n\r\n    package io.keiji.jppsample;\r\n    \r\n    import net.vvakame.util.jsonpullparser.annotation.JsonKey;\r\n    import net.vvakame.util.jsonpullparser.annotation.JsonModel;\r\n    \r\n    @JsonModel\r\n    public class Hello {\r\n    \r\n        @JsonKey\r\n        String id;\r\n    \r\n        public String getId() {\r\n            return id;\r\n        }\r\n    \r\n        public void setId(String id) {\r\n            this.id = id;\r\n        }\r\n    }\r\n\r\n入れ子のクラスHelloをもつEditorクラス\r\n\r\n    package io.keiji.jppsample;\r\n    \r\n    import net.vvakame.util.jsonpullparser.annotation.JsonKey;\r\n    import net.vvakame.util.jsonpullparser.annotation.JsonModel;\r\n    \r\n    @JsonModel\r\n    public class Editor {\r\n    \r\n        @JsonKey\r\n        Hello hello;\r\n    \r\n        public Hello getHello() {\r\n            return hello;\r\n        }\r\n    \r\n        public void setHello(Hello hello) {\r\n            this.hello = hello;\r\n        }\r\n    \r\n        @JsonModel\r\n        public static class Hello {\r\n    \r\n            @JsonKey\r\n            int id;\r\n    \r\n            public int getId() {\r\n                return id;\r\n            }\r\n    \r\n            public void setId(int id) {\r\n                this.id = id;\r\n            }\r\n        }\r\n    \r\n    }\r\n\r\nビルド結果\r\n\r\n\tError:exception thrown! Attempt to recreate a file for type io.keiji.jppsample.HelloGen\r\n\t1 warning\r\n\tError:Execution failed for task ':app:compileDebugJavaWithJavac'.\r\n\t> Compilation failed; see the compiler error output for details.\r\n\tInformation:BUILD FAILED\r\n\r\n入れ子のクラスであっても、パッケージ下にHelloGenクラスとして生成されているのが原因？\r\n"},"comment":{"url":"https://api.github.com/repos/vvakame/JsonPullParser/issues/comments/137321954","html_url":"https://github.com/vvakame/JsonPullParser/issues/41#issuecomment-137321954","issue_url":"https://api.github.com/repos/vvakame/JsonPullParser/issues/41","id":137321954,"user":{"login":"keiji","id":932136,"avatar_url":"https://avatars.githubusercontent.com/u/932136?v=3","gravatar_id":"","url":"https://api.github.com/users/keiji","html_url":"https://github.com/keiji","followers_url":"https://api.github.com/users/keiji/followers","following_url":"https://api.github.com/users/keiji/following{/other_user}","gists_url":"https://api.github.com/users/keiji/gists{/gist_id}","starred_url":"https://api.github.com/users/keiji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keiji/subscriptions","organizations_url":"https://api.github.com/users/keiji/orgs","repos_url":"https://api.github.com/users/keiji/repos","events_url":"https://api.github.com/users/keiji/events{/privacy}","received_events_url":"https://api.github.com/users/keiji/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T03:36:33Z","updated_at":"2015-09-03T03:36:33Z","body":":+1: "}}