{"action":"created","issue":{"url":"https://api.github.com/repos/junit-team/junit/issues/117","labels_url":"https://api.github.com/repos/junit-team/junit/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/junit-team/junit/issues/117/comments","events_url":"https://api.github.com/repos/junit-team/junit/issues/117/events","html_url":"https://github.com/junit-team/junit/issues/117","id":240611,"number":117,"title":"Make org.junit.runner.Description's constructor protected so that it can be subclassed","user":{"login":"pniederw","id":45382,"avatar_url":"https://avatars.githubusercontent.com/u/45382?v=3","gravatar_id":"","url":"https://api.github.com/users/pniederw","html_url":"https://github.com/pniederw","followers_url":"https://api.github.com/users/pniederw/followers","following_url":"https://api.github.com/users/pniederw/following{/other_user}","gists_url":"https://api.github.com/users/pniederw/gists{/gist_id}","starred_url":"https://api.github.com/users/pniederw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pniederw/subscriptions","organizations_url":"https://api.github.com/users/pniederw/orgs","repos_url":"https://api.github.com/users/pniederw/repos","events_url":"https://api.github.com/users/pniederw/events{/privacy}","received_events_url":"https://api.github.com/users/pniederw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/junit-team/junit/labels/descriptions","name":"descriptions","color":"009800"},{"url":"https://api.github.com/repos/junit-team/junit/labels/feature","name":"feature","color":"3b7d2e"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2010-07-06T23:49:09Z","updated_at":"2015-04-30T16:22:53Z","closed_at":null,"body":"My org.junit.runner.Runner dynamically generates new tests at runtime. In order to make them behave nicely in IDEs, I'd like to override org.junit.runner.Description.getMethodName(). However, I can't subclass Description because its only constructor is private."},"comment":{"url":"https://api.github.com/repos/junit-team/junit/issues/comments/97866572","html_url":"https://github.com/junit-team/junit/issues/117#issuecomment-97866572","issue_url":"https://api.github.com/repos/junit-team/junit/issues/117","id":97866572,"user":{"login":"kcooney","id":478190,"avatar_url":"https://avatars.githubusercontent.com/u/478190?v=3","gravatar_id":"","url":"https://api.github.com/users/kcooney","html_url":"https://github.com/kcooney","followers_url":"https://api.github.com/users/kcooney/followers","following_url":"https://api.github.com/users/kcooney/following{/other_user}","gists_url":"https://api.github.com/users/kcooney/gists{/gist_id}","starred_url":"https://api.github.com/users/kcooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcooney/subscriptions","organizations_url":"https://api.github.com/users/kcooney/orgs","repos_url":"https://api.github.com/users/kcooney/repos","events_url":"https://api.github.com/users/kcooney/events{/privacy}","received_events_url":"https://api.github.com/users/kcooney/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T16:22:53Z","updated_at":"2015-04-30T16:22:53Z","body":"@scottresnik interesting. How would subclassing `Description` help?\r\n\r\nNote we were planning on making `Description` to be immutable in the future, which we wouldn't be able to do if the constructor was protected."}}