{"action":"closed","issue":{"url":"https://api.github.com/repos/raphw/byte-buddy/issues/135","repository_url":"https://api.github.com/repos/raphw/byte-buddy","labels_url":"https://api.github.com/repos/raphw/byte-buddy/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/raphw/byte-buddy/issues/135/comments","events_url":"https://api.github.com/repos/raphw/byte-buddy/issues/135/events","html_url":"https://github.com/raphw/byte-buddy/issues/135","id":157821988,"number":135,"title":"can i use asm to interceptor interface?","user":{"login":"dragontree101","id":1763935,"avatar_url":"https://avatars.githubusercontent.com/u/1763935?v=3","gravatar_id":"","url":"https://api.github.com/users/dragontree101","html_url":"https://github.com/dragontree101","followers_url":"https://api.github.com/users/dragontree101/followers","following_url":"https://api.github.com/users/dragontree101/following{/other_user}","gists_url":"https://api.github.com/users/dragontree101/gists{/gist_id}","starred_url":"https://api.github.com/users/dragontree101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragontree101/subscriptions","organizations_url":"https://api.github.com/users/dragontree101/orgs","repos_url":"https://api.github.com/users/dragontree101/repos","events_url":"https://api.github.com/users/dragontree101/events{/privacy}","received_events_url":"https://api.github.com/users/dragontree101/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/raphw/byte-buddy/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"raphw","id":4489328,"avatar_url":"https://avatars.githubusercontent.com/u/4489328?v=3","gravatar_id":"","url":"https://api.github.com/users/raphw","html_url":"https://github.com/raphw","followers_url":"https://api.github.com/users/raphw/followers","following_url":"https://api.github.com/users/raphw/following{/other_user}","gists_url":"https://api.github.com/users/raphw/gists{/gist_id}","starred_url":"https://api.github.com/users/raphw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphw/subscriptions","organizations_url":"https://api.github.com/users/raphw/orgs","repos_url":"https://api.github.com/users/raphw/repos","events_url":"https://api.github.com/users/raphw/events{/privacy}","received_events_url":"https://api.github.com/users/raphw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/raphw/byte-buddy/milestones/46","html_url":"https://github.com/raphw/byte-buddy/milestones/1.3.20","labels_url":"https://api.github.com/repos/raphw/byte-buddy/milestones/46/labels","id":1740078,"number":46,"title":"1.3.20","description":null,"creator":{"login":"raphw","id":4489328,"avatar_url":"https://avatars.githubusercontent.com/u/4489328?v=3","gravatar_id":"","url":"https://api.github.com/users/raphw","html_url":"https://github.com/raphw","followers_url":"https://api.github.com/users/raphw/followers","following_url":"https://api.github.com/users/raphw/following{/other_user}","gists_url":"https://api.github.com/users/raphw/gists{/gist_id}","starred_url":"https://api.github.com/users/raphw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphw/subscriptions","organizations_url":"https://api.github.com/users/raphw/orgs","repos_url":"https://api.github.com/users/raphw/repos","events_url":"https://api.github.com/users/raphw/events{/privacy}","received_events_url":"https://api.github.com/users/raphw/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":13,"state":"open","created_at":"2016-04-30T16:15:35Z","updated_at":"2016-06-01T08:43:47Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-06-01T04:38:03Z","updated_at":"2016-06-01T08:43:47Z","closed_at":"2016-06-01T08:43:47Z","body":"my code is\r\n```\r\n.type(named(\"javax.ws.rs.container.ContainerRequestFilter\"))\r\n .transform(new RequestFilterAdviceTransformer())\r\n```\r\ni want to use asm to interceptor all filter which has implements ContainerRequestFilter interface\r\n\r\nbut has exception\r\n```\r\njava.lang.IllegalStateException: Cannot advice abstract or native method public abstract void javax.ws.rs.container.ContainerRequestFilter.filter(javax.ws.rs.container.ContainerRequestContext) throws java.io.IOException\r\n```\r\n\r\nand i change to \r\n```\r\n.type(named(\"org.glassfish.jersey.server.spring.scope.RequestContextFilter\"))\r\n        .transform(new RequestFilterAdviceTransformer())\r\n```\r\nis ok and ```RequestContextFilter implements ContainerRequestFilter ```\r\n\r\ni debug code, i found byte buddy think ```javax.ws.rs.container.ContainerRequestFilter``` is an abstract class, but i find ```ContainerRequestFilter``` is public interface, not an abstract class."}}
{"actor":{"display_login":"raphw"}}