{"action":"created","issue":{"url":"https://api.github.com/repos/Up2Go/pmd/issues/6","repository_url":"https://api.github.com/repos/Up2Go/pmd","labels_url":"https://api.github.com/repos/Up2Go/pmd/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Up2Go/pmd/issues/6/comments","events_url":"https://api.github.com/repos/Up2Go/pmd/issues/6/events","html_url":"https://github.com/Up2Go/pmd/issues/6","id":140931226,"number":6,"title":"Struggle with child parsing the Javascript way?","user":{"login":"up2go-rsoesemann","id":8180281,"avatar_url":"https://avatars.githubusercontent.com/u/8180281?v=3","gravatar_id":"","url":"https://api.github.com/users/up2go-rsoesemann","html_url":"https://github.com/up2go-rsoesemann","followers_url":"https://api.github.com/users/up2go-rsoesemann/followers","following_url":"https://api.github.com/users/up2go-rsoesemann/following{/other_user}","gists_url":"https://api.github.com/users/up2go-rsoesemann/gists{/gist_id}","starred_url":"https://api.github.com/users/up2go-rsoesemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/up2go-rsoesemann/subscriptions","organizations_url":"https://api.github.com/users/up2go-rsoesemann/orgs","repos_url":"https://api.github.com/users/up2go-rsoesemann/repos","events_url":"https://api.github.com/users/up2go-rsoesemann/events{/privacy}","received_events_url":"https://api.github.com/users/up2go-rsoesemann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Up2Go/pmd/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-15T10:22:56Z","updated_at":"2016-03-15T18:47:47Z","closed_at":null,"body":"@adangel I made a copy of the Ecmascript module and tried to adapt it for Apex. As I am not a Java programmer and struggle to understand the heavy use of generics in your Adapter code I don't know how to cope with the compile error in \r\n\r\nhttps://github.com/Up2Go/pmd/blob/master/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java#L84\r\n\r\nwhere child nodes are visited. I added a minimal rule test to see fi the parser works.\r\n\r\nhttps://github.com/Up2Go/pmd/blob/master/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/ast/ApexParserTest.java\r\n\r\nMaybe you can have a short look over the code and see if we got the adaption of the Ecmascript module right?"},"comment":{"url":"https://api.github.com/repos/Up2Go/pmd/issues/comments/196969720","html_url":"https://github.com/Up2Go/pmd/issues/6#issuecomment-196969720","issue_url":"https://api.github.com/repos/Up2Go/pmd/issues/6","id":196969720,"user":{"login":"up2go-rsoesemann","id":8180281,"avatar_url":"https://avatars.githubusercontent.com/u/8180281?v=3","gravatar_id":"","url":"https://api.github.com/users/up2go-rsoesemann","html_url":"https://github.com/up2go-rsoesemann","followers_url":"https://api.github.com/users/up2go-rsoesemann/followers","following_url":"https://api.github.com/users/up2go-rsoesemann/following{/other_user}","gists_url":"https://api.github.com/users/up2go-rsoesemann/gists{/gist_id}","starred_url":"https://api.github.com/users/up2go-rsoesemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/up2go-rsoesemann/subscriptions","organizations_url":"https://api.github.com/users/up2go-rsoesemann/orgs","repos_url":"https://api.github.com/users/up2go-rsoesemann/repos","events_url":"https://api.github.com/users/up2go-rsoesemann/events{/privacy}","received_events_url":"https://api.github.com/users/up2go-rsoesemann/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T18:47:47Z","updated_at":"2016-03-15T18:47:47Z","body":"@vazexqi PMD works perfect with Java 8. I modified the pom.xml accordingly."}}