Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 – 5 of 5) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSubcomponentWriter.java169 TypeName moduleType = TypeNames.forTypeMirror(paramTypes.get(i)); in writeSubcomponentWithoutBuilder() local
170 componentMethod.addParameter(moduleType, moduleVariable.getSimpleName().toString()); in writeSubcomponentWithoutBuilder()
178 constructorWriter.addParameter(moduleType, actualModuleName); in writeSubcomponentWithoutBuilder()
194 for (TypeElement moduleType : uninitializedModules) { in writeSubcomponentWithoutBuilder()
196 CaseFormat.UPPER_CAMEL.to(LOWER_CAMEL, moduleType.getSimpleName().toString()); in writeSubcomponentWithoutBuilder()
197 FieldWriter contributionField = componentWriter.addField(moduleType, preferredModuleName); in writeSubcomponentWithoutBuilder()
201 actualModuleName, ClassName.fromTypeElement(moduleType)); in writeSubcomponentWithoutBuilder()
204 componentContributionFields.put(moduleType, moduleSelect); in writeSubcomponentWithoutBuilder()
DComponentValidator.java271 Optional<TypeElement> moduleType = parameterType.accept( in validateSubcomponentMethod() local
283 if (moduleType.isPresent()) { in validateSubcomponentMethod()
284 if (variableTypes.contains(moduleType.get())) { in validateSubcomponentMethod()
289 moduleType.get().getQualifiedName()), in validateSubcomponentMethod()
292 if (!transitiveModules.contains(moduleType.get())) { in validateSubcomponentMethod()
297 moduleType.get().getQualifiedName(), in validateSubcomponentMethod()
301 variableTypes.add(moduleType.get()); in validateSubcomponentMethod()
DProductionComponentValidator.java56 for (TypeMirror moduleType : moduleTypes) { in validate()
57 moduleType.accept( in validate()
DBindingGraphValidator.java201 public boolean apply(TypeElement moduleType) { in validateSubcomponentFactoryMethod()
202 return !componentCanMakeNewInstances(moduleType); in validateSubcomponentFactoryMethod()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DComponentProcessorTest.java105 private void checkCannotReferToModuleOfType(String moduleType) { in checkCannotReferToModuleOfType() argument
112 moduleType + " TestModule {}"); in checkCannotReferToModuleOfType()