{"action":"created","issue":{"url":"https://api.github.com/repos/forcedotcom/idecore/issues/173","repository_url":"https://api.github.com/repos/forcedotcom/idecore","labels_url":"https://api.github.com/repos/forcedotcom/idecore/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/forcedotcom/idecore/issues/173/comments","events_url":"https://api.github.com/repos/forcedotcom/idecore/issues/173/events","html_url":"https://github.com/forcedotcom/idecore/issues/173","id":144070450,"number":173,"title":"How to get startLine / endLine of class and methods","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":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-28T20:08:53Z","updated_at":"2016-03-29T06:57:34Z","closed_at":"2016-03-29T06:57:34Z","body":"[I am using the parser to get an AST of an Apex class](https://github.com/Up2Go/pmd/blob/master/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/AbstractApexNode.java). To do some metrics on classes I need to get information on the length (without comments) of classes and methods.\r\n\r\nI already found the Loc and RealLoc classes but don't know how to get that information from them.\r\n\r\nIs there any code example in this repo?"},"comment":{"url":"https://api.github.com/repos/forcedotcom/idecore/issues/comments/202744722","html_url":"https://github.com/forcedotcom/idecore/issues/173#issuecomment-202744722","issue_url":"https://api.github.com/repos/forcedotcom/idecore/issues/173","id":202744722,"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-29T06:57:34Z","updated_at":"2016-03-29T06:57:34Z","body":"Moved here https://github.com/Up2Go/pmd/issues/14"}}