{"comment":{"created_at":"2011-10-07T20:58:19Z","body":"Probably won't ever be pulled.","updated_at":"2011-10-07T20:58:19Z","url":"https://api.github.com/repos/Bukkit/Bukkit/issues/comments/2328183","id":2328183,"user":{"avatar_url":"https://secure.gravatar.com/avatar/9bc3db46d1010e8050efa94c0498f27c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/desmin88","id":665175,"login":"desmin88"}},"action":"created","issue":{"number":279,"created_at":"2011-06-26T04:56:17Z","pull_request":{"diff_url":"https://github.com/Bukkit/Bukkit/pull/279.diff","patch_url":"https://github.com/Bukkit/Bukkit/pull/279.patch","html_url":"https://github.com/Bukkit/Bukkit/pull/279"},"body":"Now using Annotations.\r\n\r\n* Backward compatible.\r\n* Prefomance friendly. PreEvent Switching. For each event handler own \"personal\" EventExecutor created, unlike #277, where rounting happens durning event (in onEvent). This mean event get routed before it has been actually called.\r\nBut this affect only Annotated handlers (default one too). You still can use onEvent for universal event catching.\r\n\r\n* Offers more flexiblility - onEvent or using Annotations\r\n\r\nAnnotations example:\r\n\r\n    public class MyListener implements Listener {\r\n        @EventHandler(Type.BLOCK_DAMAGE)\r\n        public void myBlockDamageEvent(BlockDamageEvent event) {\r\n            // ... do your stuff ...\r\n        }\r\n    }\r\n\r\n* Correctly formatted :)","comments":4,"title":"Major event system improvement/refactoring. Now with Annotations","updated_at":"2011-10-07T20:58:19Z","url":"https://api.github.com/repos/Bukkit/Bukkit/issues/279","id":1116489,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/c99a6970aaf0812b0c7f9371ff5d1eac?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/t3hk0d3","id":86416,"login":"t3hk0d3"},"html_url":"https://github.com/Bukkit/Bukkit/issues/279","labels":[],"state":"open"},"legacy":{"issue_id":1116489,"comment_id":2328183}}