{"action":"opened","issue":{"url":"https://api.github.com/repos/matanster/visualizer/issues/4","labels_url":"https://api.github.com/repos/matanster/visualizer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/matanster/visualizer/issues/4/comments","events_url":"https://api.github.com/repos/matanster/visualizer/issues/4/events","html_url":"https://github.com/matanster/visualizer/issues/4","id":102942242,"number":4,"title":"Hide default case class methods when not called","user":{"login":"matanster","id":4996067,"avatar_url":"https://avatars.githubusercontent.com/u/4996067?v=3","gravatar_id":"","url":"https://api.github.com/users/matanster","html_url":"https://github.com/matanster","followers_url":"https://api.github.com/users/matanster/followers","following_url":"https://api.github.com/users/matanster/following{/other_user}","gists_url":"https://api.github.com/users/matanster/gists{/gist_id}","starred_url":"https://api.github.com/users/matanster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanster/subscriptions","organizations_url":"https://api.github.com/users/matanster/orgs","repos_url":"https://api.github.com/users/matanster/repos","events_url":"https://api.github.com/users/matanster/events{/privacy}","received_events_url":"https://api.github.com/users/matanster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T03:37:17Z","updated_at":"2015-08-25T03:37:17Z","closed_at":null,"body":"Every case class is decorated with a myriad of methods by the compiler. Most of the time, it provides little contribution seeing all of them here. Unless they have been overridden by the developer, they can be excluded from all views, other than the case that they are actually called by at least one caller.\r\n\r\nThis idea may need to be refined, in case they typically call each other.\r\n\r\nThis will greatly help de-clutter the view for a user, without loss of real information.\r\n\r\nGeneralization: some of the code can be reused for hiding uncalled methods everywhere, not just case class default ones, being a behavior that can be toggled."}}