{"action":"created","issue":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/192","labels_url":"https://api.github.com/repos/javaparser/javaparser/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/javaparser/javaparser/issues/192/comments","events_url":"https://api.github.com/repos/javaparser/javaparser/issues/192/events","html_url":"https://github.com/javaparser/javaparser/issues/192","id":103916065,"number":192,"title":"Comments within methods not getting parsed","user":{"login":"mahendrakariya","id":2538874,"avatar_url":"https://avatars.githubusercontent.com/u/2538874?v=3","gravatar_id":"","url":"https://api.github.com/users/mahendrakariya","html_url":"https://github.com/mahendrakariya","followers_url":"https://api.github.com/users/mahendrakariya/followers","following_url":"https://api.github.com/users/mahendrakariya/following{/other_user}","gists_url":"https://api.github.com/users/mahendrakariya/gists{/gist_id}","starred_url":"https://api.github.com/users/mahendrakariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahendrakariya/subscriptions","organizations_url":"https://api.github.com/users/mahendrakariya/orgs","repos_url":"https://api.github.com/users/mahendrakariya/repos","events_url":"https://api.github.com/users/mahendrakariya/events{/privacy}","received_events_url":"https://api.github.com/users/mahendrakariya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-30T10:06:21Z","updated_at":"2015-09-02T12:17:52Z","closed_at":"2015-09-02T12:17:52Z","body":"The java class that we want to parse looks like this.\r\n```\r\npublic class StepImplementation {\r\n    @Step(\"A step\")\r\n    public void contextStep() {\r\n        // Foo bar\r\n    }\r\n}\r\n```\r\n\r\nWhen we parse this class using `JavaParser.parse`, the comments are ignored.\r\n`CompilationUnit.toString()` prints the following output. Notice that the comments within the method `contextStep()` is not there.\r\n\r\n```\r\npublic class StepImplementation {\r\n    @Step(\"A step\")\r\n    public void contextStep() {\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/comments/137052212","html_url":"https://github.com/javaparser/javaparser/issues/192#issuecomment-137052212","issue_url":"https://api.github.com/repos/javaparser/javaparser/issues/192","id":137052212,"user":{"login":"SmiddyPence","id":4492231,"avatar_url":"https://avatars.githubusercontent.com/u/4492231?v=3","gravatar_id":"","url":"https://api.github.com/users/SmiddyPence","html_url":"https://github.com/SmiddyPence","followers_url":"https://api.github.com/users/SmiddyPence/followers","following_url":"https://api.github.com/users/SmiddyPence/following{/other_user}","gists_url":"https://api.github.com/users/SmiddyPence/gists{/gist_id}","starred_url":"https://api.github.com/users/SmiddyPence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmiddyPence/subscriptions","organizations_url":"https://api.github.com/users/SmiddyPence/orgs","repos_url":"https://api.github.com/users/SmiddyPence/repos","events_url":"https://api.github.com/users/SmiddyPence/events{/privacy}","received_events_url":"https://api.github.com/users/SmiddyPence/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T12:17:52Z","updated_at":"2015-09-02T12:17:52Z","body":"2.2.2 available.\r\n\r\nshould be resolved."}}