/external/dagger2/javatests/dagger/internal/codegen/ |
D | ComponentCreatorTestHelper.java | 42 protected final ComponentCreatorKind creatorKind; field in ComponentCreatorTestHelper 48 this.creatorKind = componentCreatorAnnotation.creatorKind(); in ComponentCreatorTestHelper() 64 if (creatorKind.equals(FACTORY)) { in process() 85 return new JavaFileBuilder(qualifiedName).withSettings(compilerMode, creatorKind); in javaFileBuilder()
|
D | SubcomponentCreatorValidationTest.java | 544 creatorKind.equals(BUILDER) in testMultipleSettersPerTypeFails() 618 creatorKind.equals(BUILDER) in testMultipleSettersPerTypeIncludingResolvedGenericsFails() 676 String firstBinding = creatorKind.equals(FACTORY) in testMultipleSettersPerBoundInstanceTypeFails() 679 String secondBinding = creatorKind.equals(FACTORY) in testMultipleSettersPerBoundInstanceTypeFails() 735 creatorKind.equals(FACTORY) in testExtraSettersFails()
|
D | ComponentCreatorTest.java | 841 creatorKind.equals(BUILDER) in testMultipleSettersPerTypeFails() 905 creatorKind.equals(BUILDER) in testMultipleSettersPerTypeIncludingResolvedGenericsFails() 958 creatorKind.equals(BUILDER) in testExtraSettersFails()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ComponentCreatorAnnotation.java | 49 private final ComponentCreatorKind creatorKind; field in ComponentCreatorAnnotation 55 this.creatorKind = ComponentCreatorKind.valueOf(toUpperCase(annotation.getSimpleName())); in ComponentCreatorAnnotation() 83 public ComponentCreatorKind creatorKind() { in creatorKind() method in ComponentCreatorAnnotation 84 return creatorKind; in creatorKind()
|
D | ErrorMessages.java | 65 switch (creatorAnnotation.creatorKind()) { in creatorMessagesFor()
|
D | ComponentCreatorDescriptor.java | 60 return annotation().creatorKind(); in kind()
|
/external/dagger2/java/dagger/internal/codegen/componentgenerator/ |
D | ComponentHjarGenerator.java | 118 ComponentCreatorKind creatorKind; in write() local 123 creatorKind = creatorDescriptor.kind(); in write() 136 creatorKind = BUILDER; in write() 145 generatedComponent.addMethod(staticCreatorMethod(builderMethodReturnType, creatorKind)); in write() 249 TypeName creatorMethodReturnType, ComponentCreatorKind creatorKind) { in staticCreatorMethod() argument 250 return MethodSpec.methodBuilder(Ascii.toLowerCase(creatorKind.typeName())) in staticCreatorMethod()
|
D | ComponentImplementationBuilder.java | 457 ComponentCreatorKind creatorKind; in createRootComponentFactoryMethod() local 465 creatorKind = descriptor.kind(); in createRootComponentFactoryMethod() 470 creatorKind = BUILDER; in createRootComponentFactoryMethod() 477 methodBuilder(creatorKind.methodName()) in createRootComponentFactoryMethod() 489 .addStatement("return new $L().$L()", creatorKind.typeName(), factoryMethodName) in createRootComponentFactoryMethod()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ComponentImplementation.java | 254 private ComponentCreatorKind creatorKind() { in creatorKind() method in ComponentImplementation 269 : name.nestedClass(creatorKind().typeName()); in getCreatorName()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | ComponentCreatorValidator.java | 146 switch (annotation.creatorKind()) { in validate()
|
D | ModuleValidator.java | 314 creatorAnnotation.creatorKind().typeName(), in moduleSubcomponentsIncludesCreator()
|