{"action":"opened","issue":{"url":"https://api.github.com/repos/square/mortar/issues/138","labels_url":"https://api.github.com/repos/square/mortar/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/square/mortar/issues/138/comments","events_url":"https://api.github.com/repos/square/mortar/issues/138/events","html_url":"https://github.com/square/mortar/issues/138","id":67064676,"number":138,"title":"ClassNotFoundException in dagger2support/DaggerService","user":{"login":"EligijusStarinskas","id":3715804,"avatar_url":"https://avatars.githubusercontent.com/u/3715804?v=3","gravatar_id":"","url":"https://api.github.com/users/EligijusStarinskas","html_url":"https://github.com/EligijusStarinskas","followers_url":"https://api.github.com/users/EligijusStarinskas/followers","following_url":"https://api.github.com/users/EligijusStarinskas/following{/other_user}","gists_url":"https://api.github.com/users/EligijusStarinskas/gists{/gist_id}","starred_url":"https://api.github.com/users/EligijusStarinskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EligijusStarinskas/subscriptions","organizations_url":"https://api.github.com/users/EligijusStarinskas/orgs","repos_url":"https://api.github.com/users/EligijusStarinskas/repos","events_url":"https://api.github.com/users/EligijusStarinskas/events{/privacy}","received_events_url":"https://api.github.com/users/EligijusStarinskas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T07:06:44Z","updated_at":"2015-04-08T07:06:44Z","closed_at":null,"body":"Hey,\r\n\r\nAfter Google/Dagger 2.0 release, I get ClassNotFoundException in this line:\r\nClass<?> generatedClass = Class.forName(generatedName);\r\n\r\nI thinks generated classes are now called DaggerMyCustomClass instead of Dagger_MyCustomClass,\r\nso the problem might be in this line: \r\nString generatedName = (packageName + \".Dagger_\" + simpleName).replace('$', '_');\r\n\r\n\r\n"}}