{"action":"created","issue":{"url":"https://api.github.com/repos/windup/windup/issues/927","repository_url":"https://api.github.com/repos/windup/windup","labels_url":"https://api.github.com/repos/windup/windup/issues/927/labels{/name}","comments_url":"https://api.github.com/repos/windup/windup/issues/927/comments","events_url":"https://api.github.com/repos/windup/windup/issues/927/events","html_url":"https://github.com/windup/windup/pull/927","id":155022786,"number":927,"title":"WINDUP-1002 new Type location Enum","user":{"login":"mareknovotny","id":177257,"avatar_url":"https://avatars.githubusercontent.com/u/177257?v=3","gravatar_id":"","url":"https://api.github.com/users/mareknovotny","html_url":"https://github.com/mareknovotny","followers_url":"https://api.github.com/users/mareknovotny/followers","following_url":"https://api.github.com/users/mareknovotny/following{/other_user}","gists_url":"https://api.github.com/users/mareknovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/mareknovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareknovotny/subscriptions","organizations_url":"https://api.github.com/users/mareknovotny/orgs","repos_url":"https://api.github.com/users/mareknovotny/repos","events_url":"https://api.github.com/users/mareknovotny/events{/privacy}","received_events_url":"https://api.github.com/users/mareknovotny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/windup/windup/labels/Work%20in%20Progress/For%20Discussion%20Only","name":"Work in Progress/For Discussion Only","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-16T12:49:15Z","updated_at":"2016-05-26T12:44:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/windup/windup/pulls/927","html_url":"https://github.com/windup/windup/pull/927","diff_url":"https://github.com/windup/windup/pull/927.diff","patch_url":"https://github.com/windup/windup/pull/927.patch"},"body":"https://issues.jboss.org/browse/WINDUP-1002\r\n\r\nI added ENUM_CONSTANT type. It resolves/creates a ClassReference  with qualifiedName as Enum.CONSTANT\r\n"},"comment":{"url":"https://api.github.com/repos/windup/windup/issues/comments/221860308","html_url":"https://github.com/windup/windup/pull/927#issuecomment-221860308","issue_url":"https://api.github.com/repos/windup/windup/issues/927","id":221860308,"user":{"login":"mareknovotny","id":177257,"avatar_url":"https://avatars.githubusercontent.com/u/177257?v=3","gravatar_id":"","url":"https://api.github.com/users/mareknovotny","html_url":"https://github.com/mareknovotny","followers_url":"https://api.github.com/users/mareknovotny/followers","following_url":"https://api.github.com/users/mareknovotny/following{/other_user}","gists_url":"https://api.github.com/users/mareknovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/mareknovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareknovotny/subscriptions","organizations_url":"https://api.github.com/users/mareknovotny/orgs","repos_url":"https://api.github.com/users/mareknovotny/repos","events_url":"https://api.github.com/users/mareknovotny/events{/privacy}","received_events_url":"https://api.github.com/users/mareknovotny/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T12:44:32Z","updated_at":"2016-05-26T12:44:32Z","body":"The Enum const location type reference is added and both cases when Enum class is on classpath or is not it is recognized by Windup AST. The cases are method parameters, variable initialization, field declaration and constructor call.\r\n\r\nAdding more tests to test the whole thing"}}
{"actor":{"display_login":"mareknovotny"}}