Created
February 29, 2016 13:36
-
-
Save ar-g/9319c1da7c768538aa6b to your computer and use it in GitHub Desktop.
dagger2_code_generation_issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import dagger.Subcomponent; | |
import ua.com.uklontaxi.lib.dagger.di.PerActivity; | |
@PerActivity @Subcomponent public interface ActivityScopeComponent { | |
void inject(Child1 child1); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import dagger.Component; | |
import javax.inject.Singleton; | |
@Singleton @Component public interface AppTestComponent { | |
ActivityScopeComponent plus(); | |
void inject(Child2 userHolder); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import javax.inject.Inject; | |
public class Child1 extends Parent { | |
@Inject ChildMember childMember; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import javax.inject.Inject; | |
public class Child2 extends Parent { | |
@Inject ChildMember childMember; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import javax.inject.Inject; | |
import javax.inject.Singleton; | |
import ua.com.uklontaxi.lib.dagger.di.PerActivity; | |
@Singleton public class ChildMember { | |
@Inject public ChildMember() { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import javax.inject.Inject; | |
public class Parent { | |
@Inject ParentMember parentMember; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dagger2_code_generation_issue; | |
import javax.inject.Inject; | |
import javax.inject.Singleton; | |
@Singleton public class ParentMember { | |
@Inject public ParentMember() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment