public final class PresenterBinderClassGenerator extends JavaFilesGenerator<com.arellomobile.mvp.compiler.presenterbinder.TargetClassInfo>
Generates PresenterBinder for class annotated with @InjectPresenters
for Sample class with single injected presenter
@InjectPresenters
public class Sample extends MvpActivity implements MyView
{
@InjectPresenter(type = PresenterType.LOCAL, tag = "SOME_TAG")
com.arellomobile.example.MyPresenter mMyPresenter;
}
PresenterBinderClassGenerator generates PresenterBinder
| Constructor and Description |
|---|
PresenterBinderClassGenerator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.squareup.javapoet.JavaFile> |
generate(com.arellomobile.mvp.compiler.presenterbinder.TargetClassInfo targetClassInfo) |
public java.util.List<com.squareup.javapoet.JavaFile> generate(com.arellomobile.mvp.compiler.presenterbinder.TargetClassInfo targetClassInfo)
generate in class JavaFilesGenerator<com.arellomobile.mvp.compiler.presenterbinder.TargetClassInfo>