{"action":"created","issue":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/154","labels_url":"https://api.github.com/repos/javaparser/javaparser/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/javaparser/javaparser/issues/154/comments","events_url":"https://api.github.com/repos/javaparser/javaparser/issues/154/events","html_url":"https://github.com/javaparser/javaparser/pull/154","id":90126057,"number":154,"title":"Javaparse2jctree","user":{"login":"pcgomes","id":8395366,"avatar_url":"https://avatars.githubusercontent.com/u/8395366?v=3","gravatar_id":"","url":"https://api.github.com/users/pcgomes","html_url":"https://github.com/pcgomes","followers_url":"https://api.github.com/users/pcgomes/followers","following_url":"https://api.github.com/users/pcgomes/following{/other_user}","gists_url":"https://api.github.com/users/pcgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/pcgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcgomes/subscriptions","organizations_url":"https://api.github.com/users/pcgomes/orgs","repos_url":"https://api.github.com/users/pcgomes/repos","events_url":"https://api.github.com/users/pcgomes/events{/privacy}","received_events_url":"https://api.github.com/users/pcgomes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-22T15:06:06Z","updated_at":"2015-07-02T07:39:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/javaparser/javaparser/pulls/154","html_url":"https://github.com/javaparser/javaparser/pull/154","diff_url":"https://github.com/javaparser/javaparser/pull/154.diff","patch_url":"https://github.com/javaparser/javaparser/pull/154.patch"},"body":"I have added the files that convert a Java Parser AST into a JCTree AST into the fork javaparser2jctree.\r\n\r\nThe files and it utility are the following:\r\n\r\ncom/github/javaparser/jctree/Main.java: Entry class that glue all parts. Shows how to make translation, until the code generation.\r\ncom/github/javaparser/jctree/ast/*.java: Node types for the JCTree AST, extended to store comments (I call then AJCTree).\r\ncom/github/javaparser/jctree/ast/visitor/APretty.java: Visitor that prints an AJCTree AST, including the comments.\r\ncom/github/javaparser/jctree/ast/visitor/PrintAstVisitor.java: Visitor that dumps an AJCTree AST, printing the node type before its content.\r\ncom/github/javaparser/ast/visitor/ASTDumpVisitor.java: Visitor that dumps a Java Parser AST, printing the node type before its content.\r\ncom/github/javaparser/ast/visitor/ComplyToJCVisitor.java: Visitor that formats the Java Parser AST, to comply to the JCTree one.\r\ncom/github/javaparser/ast/visitorJavaParser2JCTree.java: Visitor that translated the Java Parser AST to the AJCTree AST."},"comment":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/comments/117945425","html_url":"https://github.com/javaparser/javaparser/pull/154#issuecomment-117945425","issue_url":"https://api.github.com/repos/javaparser/javaparser/issues/154","id":117945425,"user":{"login":"pcgomes","id":8395366,"avatar_url":"https://avatars.githubusercontent.com/u/8395366?v=3","gravatar_id":"","url":"https://api.github.com/users/pcgomes","html_url":"https://github.com/pcgomes","followers_url":"https://api.github.com/users/pcgomes/followers","following_url":"https://api.github.com/users/pcgomes/following{/other_user}","gists_url":"https://api.github.com/users/pcgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/pcgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcgomes/subscriptions","organizations_url":"https://api.github.com/users/pcgomes/orgs","repos_url":"https://api.github.com/users/pcgomes/repos","events_url":"https://api.github.com/users/pcgomes/events{/privacy}","received_events_url":"https://api.github.com/users/pcgomes/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T07:39:14Z","updated_at":"2015-07-02T07:39:14Z","body":"Hi @ftomassetti , @matozoid and @ptitjes,\r\n\r\nFirst of all, thanks for reviewing the suggestion. I agree that JavaParser has to be conservative, and the failure to find tools.jar in other platforms is definitely a no-go to go for the main tree.\r\n\r\nThus, I think that the suggestion for the additional module is good, and I will go for it. Your help with the boring bits is highly appreciated. Let's get started?"}}