public interface DependencyInjectionHelper
Modifier and Type | Method and Description |
---|---|
TypeSpecDataHolder |
generate(SpecModel specModel)
Generate code required to make the Dependency Injection work.
|
com.squareup.javapoet.MethodSpec |
generateConstructor(SpecModel specModel)
Generate the constructor required for Dependency Injection.
|
TypeSpecDataHolder |
generateSourceDelegate(SpecModel specModel)
Generate source delegate required for Dependency Injection.
|
List<SpecModelValidationError> |
validate(SpecModel specModel)
Validate that the dependency injection for this spec is correctly defined.
|
List<SpecModelValidationError> validate(SpecModel specModel)
TypeSpecDataHolder generate(SpecModel specModel)
TypeSpecDataHolder generateSourceDelegate(SpecModel specModel)
com.squareup.javapoet.MethodSpec generateConstructor(SpecModel specModel)