{"action":"created","issue":{"url":"https://api.github.com/repos/raphw/byte-buddy/issues/110","repository_url":"https://api.github.com/repos/raphw/byte-buddy","labels_url":"https://api.github.com/repos/raphw/byte-buddy/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/raphw/byte-buddy/issues/110/comments","events_url":"https://api.github.com/repos/raphw/byte-buddy/issues/110/events","html_url":"https://github.com/raphw/byte-buddy/issues/110","id":145198050,"number":110,"title":"Implementing a profiler agen with Byte Buddy which automatically attaches","user":{"login":"felixbarny","id":2163464,"avatar_url":"https://avatars.githubusercontent.com/u/2163464?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbarny","html_url":"https://github.com/felixbarny","followers_url":"https://api.github.com/users/felixbarny/followers","following_url":"https://api.github.com/users/felixbarny/following{/other_user}","gists_url":"https://api.github.com/users/felixbarny/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbarny/subscriptions","organizations_url":"https://api.github.com/users/felixbarny/orgs","repos_url":"https://api.github.com/users/felixbarny/repos","events_url":"https://api.github.com/users/felixbarny/events{/privacy}","received_events_url":"https://api.github.com/users/felixbarny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/raphw/byte-buddy/labels/enhancement","name":"enhancement","color":"84b6eb"},{"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/38","html_url":"https://github.com/raphw/byte-buddy/milestones/1.3.6","labels_url":"https://api.github.com/repos/raphw/byte-buddy/milestones/38/labels","id":1666266,"number":38,"title":"1.3.6","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":0,"closed_issues":3,"state":"open","created_at":"2016-03-25T19:03:46Z","updated_at":"2016-04-03T10:39:17Z","due_on":null,"closed_at":null},"comments":117,"created_at":"2016-04-01T14:39:58Z","updated_at":"2016-04-19T13:27:15Z","closed_at":"2016-04-03T10:39:17Z","body":"Hi,\r\n\r\nI'm the developer of [stagemonitor](http://www.github.com/stagemonitor/stagemonitor) and I'm considering replacing the Javassist-based profiler with Byte Buddy. It would be great if you could help me out as I'm stuck.\r\n\r\nI've created an example project for a Byte Buddy proof of concept which touches the most important areas: https://github.com/felixbarny/byte-buddy-test/blob/master/src/test/java/net/bytebuddy/test/TestByteBuddyProfiler.java\r\n\r\n* Runtime attachment\r\n* Capture signature in custom format\r\n* Capture method arguments\r\n* Insert profiling code on enter and on exit\r\n\r\nI also am not sure whether the `AgentBuilder` or the `@Advice` API is preferable and if those two approaches can be combined.\r\n\r\nThx in advance."},"comment":{"url":"https://api.github.com/repos/raphw/byte-buddy/issues/comments/211922757","html_url":"https://github.com/raphw/byte-buddy/issues/110#issuecomment-211922757","issue_url":"https://api.github.com/repos/raphw/byte-buddy/issues/110","id":211922757,"user":{"login":"felixbarny","id":2163464,"avatar_url":"https://avatars.githubusercontent.com/u/2163464?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbarny","html_url":"https://github.com/felixbarny","followers_url":"https://api.github.com/users/felixbarny/followers","following_url":"https://api.github.com/users/felixbarny/following{/other_user}","gists_url":"https://api.github.com/users/felixbarny/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbarny/subscriptions","organizations_url":"https://api.github.com/users/felixbarny/orgs","repos_url":"https://api.github.com/users/felixbarny/repos","events_url":"https://api.github.com/users/felixbarny/events{/privacy}","received_events_url":"https://api.github.com/users/felixbarny/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T13:27:15Z","updated_at":"2016-04-19T13:27:15Z","body":"I'm afraid I still not quite get it.\r\n\r\nFor my use case a `transformTypes` method would be nice that can be called multiple times to add multiple `Transformers` which are applied to the corresponding matching types.\r\n\r\n    AgentBuilder#transformTypes(ElementMatcher<? super TypeDescription>, ElementMatcher<? super java.lang.ClassLoader>, Transformer)"}}