{"action":"created","issue":{"url":"https://api.github.com/repos/INRIA/spoon/issues/302","labels_url":"https://api.github.com/repos/INRIA/spoon/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/INRIA/spoon/issues/302/comments","events_url":"https://api.github.com/repos/INRIA/spoon/issues/302/events","html_url":"https://github.com/INRIA/spoon/pull/302","id":101664783,"number":302,"title":"No innerclass import","user":{"login":"alcides","id":7089,"avatar_url":"https://avatars.githubusercontent.com/u/7089?v=3","gravatar_id":"","url":"https://api.github.com/users/alcides","html_url":"https://github.com/alcides","followers_url":"https://api.github.com/users/alcides/followers","following_url":"https://api.github.com/users/alcides/following{/other_user}","gists_url":"https://api.github.com/users/alcides/gists{/gist_id}","starred_url":"https://api.github.com/users/alcides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcides/subscriptions","organizations_url":"https://api.github.com/users/alcides/orgs","repos_url":"https://api.github.com/users/alcides/repos","events_url":"https://api.github.com/users/alcides/events{/privacy}","received_events_url":"https://api.github.com/users/alcides/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-18T14:09:57Z","updated_at":"2015-08-24T08:57:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/INRIA/spoon/pulls/302","html_url":"https://github.com/INRIA/spoon/pull/302","diff_url":"https://github.com/INRIA/spoon/pull/302.diff","patch_url":"https://github.com/INRIA/spoon/pull/302.patch"},"body":"When \"with-imports\" option is turned on, the generated output code will add:\r\n\r\nimport pkg.Klass$InnerKlass\r\n\r\nwith code defined as\r\n```java\r\npackage pkg\r\npublic class Klass {\r\npublic class InnerKlass {}\r\n}\r\n```\r\n\r\nThis pull requests prevents those imports from being generated (as in my case, I have the import of the Klass class). However, I believe that it should be replaced by pkg.Klass.InnerKlass, although I am not sure how this works with non-static inner classes."},"comment":{"url":"https://api.github.com/repos/INRIA/spoon/issues/comments/134101663","html_url":"https://github.com/INRIA/spoon/pull/302#issuecomment-134101663","issue_url":"https://api.github.com/repos/INRIA/spoon/issues/302","id":134101663,"user":{"login":"monperrus","id":803666,"avatar_url":"https://avatars.githubusercontent.com/u/803666?v=3","gravatar_id":"","url":"https://api.github.com/users/monperrus","html_url":"https://github.com/monperrus","followers_url":"https://api.github.com/users/monperrus/followers","following_url":"https://api.github.com/users/monperrus/following{/other_user}","gists_url":"https://api.github.com/users/monperrus/gists{/gist_id}","starred_url":"https://api.github.com/users/monperrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monperrus/subscriptions","organizations_url":"https://api.github.com/users/monperrus/orgs","repos_url":"https://api.github.com/users/monperrus/repos","events_url":"https://api.github.com/users/monperrus/events{/privacy}","received_events_url":"https://api.github.com/users/monperrus/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T08:57:52Z","updated_at":"2015-08-24T08:57:52Z","body":"This contribution looks valuable, thanks.\r\n\r\nCould you rebase, remove the merge commit from the PR, and add a test case please? (so that the diff view of the PR is clear)\r\n\r\nBest,\r\n\r\n--Martin\r\n"}}