{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/comments/74809180","id":74809180,"diff_hunk":"@@ -132,9 +132,9 @@ public Object invokeMethod(String name, Object args) {\n         try {\n             for (Class<?> e : Index.list(Symbol.class, Jenkins.getActiveInstance().pluginManager.uberClassLoader, Class.class)) {\n                 if (Descriptor.class.isAssignableFrom(e)) {\n-                    Symbol s = e.getAnnotation(Symbol.class);\n+                    String s = SymbolLookup.getSymbolValue(e);\n                     if (s != null) {\n-                        symbols.addAll(Arrays.asList(s.value()));\n+                        symbols.addAll(Arrays.asList(s));","path":"src/main/java/org/jenkinsci/plugins/workflow/cps/DSL.java","position":8,"original_position":8,"commit_id":"b5eddacf15482efd320dd7aaa7d93760210f86c4","original_commit_id":"b5eddacf15482efd320dd7aaa7d93760210f86c4","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":":bug: this removes support for multiple symbols.","created_at":"2016-08-15T18:29:44Z","updated_at":"2016-08-15T18:29:44Z","html_url":"https://github.com/jenkinsci/workflow-cps-plugin/pull/43#discussion_r74809180","pull_request_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/comments/74809180"},"html":{"href":"https://github.com/jenkinsci/workflow-cps-plugin/pull/43#discussion_r74809180"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43","id":81351970,"html_url":"https://github.com/jenkinsci/workflow-cps-plugin/pull/43","diff_url":"https://github.com/jenkinsci/workflow-cps-plugin/pull/43.diff","patch_url":"https://github.com/jenkinsci/workflow-cps-plugin/pull/43.patch","issue_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues/43","number":43,"state":"open","locked":false,"title":"JENKINS-37403 - downstream change to use SymbolLookup.getSymbolValue(…)","user":{"login":"abayer","id":120218,"avatar_url":"https://avatars.githubusercontent.com/u/120218?v=3","gravatar_id":"","url":"https://api.github.com/users/abayer","html_url":"https://github.com/abayer","followers_url":"https://api.github.com/users/abayer/followers","following_url":"https://api.github.com/users/abayer/following{/other_user}","gists_url":"https://api.github.com/users/abayer/gists{/gist_id}","starred_url":"https://api.github.com/users/abayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abayer/subscriptions","organizations_url":"https://api.github.com/users/abayer/orgs","repos_url":"https://api.github.com/users/abayer/repos","events_url":"https://api.github.com/users/abayer/events{/privacy}","received_events_url":"https://api.github.com/users/abayer/received_events","type":"User","site_admin":false},"body":"[JENKINS-37403](https://issues.jenkins-ci.org/browse/JENKINS-37403)\r\n\r\nDownstream of https://github.com/jenkinsci/structs-plugin/pull/10\r\n\r\ncc @reviewbybees esp @jglick ","created_at":"2016-08-15T18:20:18Z","updated_at":"2016-08-15T18:29:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b41ad609a61a88d0864d7592ad0cb3ef4850b480","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues/43/comments","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/statuses/b5eddacf15482efd320dd7aaa7d93760210f86c4","head":{"label":"abayer:jenkins-37403","ref":"jenkins-37403","sha":"b5eddacf15482efd320dd7aaa7d93760210f86c4","user":{"login":"abayer","id":120218,"avatar_url":"https://avatars.githubusercontent.com/u/120218?v=3","gravatar_id":"","url":"https://api.github.com/users/abayer","html_url":"https://github.com/abayer","followers_url":"https://api.github.com/users/abayer/followers","following_url":"https://api.github.com/users/abayer/following{/other_user}","gists_url":"https://api.github.com/users/abayer/gists{/gist_id}","starred_url":"https://api.github.com/users/abayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abayer/subscriptions","organizations_url":"https://api.github.com/users/abayer/orgs","repos_url":"https://api.github.com/users/abayer/repos","events_url":"https://api.github.com/users/abayer/events{/privacy}","received_events_url":"https://api.github.com/users/abayer/received_events","type":"User","site_admin":false},"repo":{"id":60647227,"name":"workflow-cps-plugin","full_name":"abayer/workflow-cps-plugin","owner":{"login":"abayer","id":120218,"avatar_url":"https://avatars.githubusercontent.com/u/120218?v=3","gravatar_id":"","url":"https://api.github.com/users/abayer","html_url":"https://github.com/abayer","followers_url":"https://api.github.com/users/abayer/followers","following_url":"https://api.github.com/users/abayer/following{/other_user}","gists_url":"https://api.github.com/users/abayer/gists{/gist_id}","starred_url":"https://api.github.com/users/abayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abayer/subscriptions","organizations_url":"https://api.github.com/users/abayer/orgs","repos_url":"https://api.github.com/users/abayer/repos","events_url":"https://api.github.com/users/abayer/events{/privacy}","received_events_url":"https://api.github.com/users/abayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abayer/workflow-cps-plugin","description":"","fork":true,"url":"https://api.github.com/repos/abayer/workflow-cps-plugin","forks_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/forks","keys_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/teams","hooks_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/hooks","issue_events_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/events","assignees_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/tags","blobs_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/languages","stargazers_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/stargazers","contributors_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/contributors","subscribers_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/subscribers","subscription_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/subscription","commits_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/merges","archive_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/downloads","issues_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/labels{/name}","releases_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/abayer/workflow-cps-plugin/deployments","created_at":"2016-06-07T21:19:53Z","updated_at":"2016-06-07T21:19:54Z","pushed_at":"2016-08-15T18:17:43Z","git_url":"git://github.com/abayer/workflow-cps-plugin.git","ssh_url":"git@github.com:abayer/workflow-cps-plugin.git","clone_url":"https://github.com/abayer/workflow-cps-plugin.git","svn_url":"https://github.com/abayer/workflow-cps-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Groovy+Plugin","size":1060,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"d253c81ff8879ece12dab155f42905c7b38dd90a","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":55543225,"name":"workflow-cps-plugin","full_name":"jenkinsci/workflow-cps-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/workflow-cps-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin","forks_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/deployments","created_at":"2016-04-05T20:24:40Z","updated_at":"2016-08-08T19:41:53Z","pushed_at":"2016-08-15T18:20:18Z","git_url":"git://github.com/jenkinsci/workflow-cps-plugin.git","ssh_url":"git@github.com:jenkinsci/workflow-cps-plugin.git","clone_url":"https://github.com/jenkinsci/workflow-cps-plugin.git","svn_url":"https://github.com/jenkinsci/workflow-cps-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Groovy+Plugin","size":1352,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":5,"forks":19,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43"},"html":{"href":"https://github.com/jenkinsci/workflow-cps-plugin/pull/43"},"issue":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues/43"},"comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/workflow-cps-plugin/statuses/b5eddacf15482efd320dd7aaa7d93760210f86c4"}}}}
{"actor":{"display_login":"jglick"}}