/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ComponentProcessingStep.java | 82 final Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = in componentElementValidator() 86 final Map<Element, ValidationReport<TypeElement>> builderReportsBySubcomponent = in componentElementValidator() 89 final Map<Element, ValidationReport<TypeElement>> reportsBySubcomponent = in componentElementValidator() 107 private Map<Element, ValidationReport<TypeElement>> processComponentBuilders( 109 Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = Maps.newHashMap(); 111 ValidationReport<TypeElement> report = 119 private Map<Element, ValidationReport<TypeElement>> processSubcomponentBuilders( 121 Map<Element, ValidationReport<TypeElement>> builderReportsBySubcomponent = Maps.newHashMap(); 123 ValidationReport<TypeElement> report = 131 private Map<Element, ValidationReport<TypeElement>> processSubcomponents( [all …]
|
D | ProductionComponentProcessingStep.java | 75 final Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = in componentElementValidator() 80 ValidationReport<TypeElement> validationReport = in componentElementValidator() 86 ValidationReport<?> builderReport = builderReportsByComponent.get(componentTypeElement); in componentElementValidator() 92 private Map<Element, ValidationReport<TypeElement>> processComponentBuilders( 94 Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = Maps.newHashMap(); 96 ValidationReport<TypeElement> report =
|
D | ValidationReport.java | 51 abstract class ValidationReport<T extends Element> { class 54 abstract ImmutableSet<ValidationReport<?>> subreports(); in subreports() 65 for (ValidationReport<?> subreport : subreports()) { in isClean() 91 for (ValidationReport<?> subreport : subreports()) { in printMessagesTo() 138 private final ImmutableSet.Builder<ValidationReport<?>> subreports = ImmutableSet.builder(); 214 Builder<T> addSubreport(ValidationReport<?> subreport) { 219 ValidationReport<T> build() {
|
D | ModuleValidator.java | 93 ValidationReport<TypeElement> validate(final TypeElement subject) { in validate() 94 final ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate() 119 TypeElement subject, ValidationReport.Builder<TypeElement> builder) { in validateModifiers() 128 ValidationReport.Builder<TypeElement> builder, in validateMethodsWithSameName() 143 TypeElement subject, ValidationReport.Builder<TypeElement> builder) { in validateReferencedModules() 155 final ValidationReport.Builder<TypeElement> builder, in validateReferencedModules() 218 ValidationReport.Builder<TypeElement> builder, in validateProvidesOverrides() 280 final ValidationReport.Builder<?> reportBuilder) { in validateModuleVisibility()
|
D | ComponentHierarchyValidator.java | 35 ValidationReport<TypeElement> validate(ComponentDescriptor componentDescriptor) { in validate() 43 private ValidationReport<TypeElement> validateSubcomponentMethods( in validateSubcomponentMethods() 46 ValidationReport.Builder<TypeElement> reportBuilder = in validateSubcomponentMethods() 47 ValidationReport.about(componentDescriptor.componentDefinitionType()); in validateSubcomponentMethods()
|
D | MapKeyValidator.java | 38 ValidationReport<Element> validate(Element element) { in validate() 39 ValidationReport.Builder<Element> builder = ValidationReport.about(element); in validate()
|
D | ProducesMethodValidator.java | 76 ValidationReport<ExecutableElement> validate(ExecutableElement producesMethodElement) { in validate() 77 ValidationReport.Builder<ExecutableElement> builder = in validate() 78 ValidationReport.about(producesMethodElement); in validate() 165 private void validateKeyType(ValidationReport.Builder<? extends Element> reportBuilder, in validateKeyType() 173 private void validateSingleReturnType(ValidationReport.Builder<? extends Element> reportBuilder, in validateSingleReturnType() 187 private void validateSetType(ValidationReport.Builder<? extends Element> reportBuilder, in validateSetType()
|
D | ProvidesMethodValidator.java | 73 ValidationReport<ExecutableElement> validate(ExecutableElement providesMethodElement) { in validate() 74 ValidationReport.Builder<ExecutableElement> builder = in validate() 75 ValidationReport.about(providesMethodElement); in validate() 160 static void validateMethodQualifiers(ValidationReport.Builder<ExecutableElement> builder, in validateMethodQualifiers() 178 private void validateKeyType(ValidationReport.Builder<? extends Element> reportBuilder, in validateKeyType()
|
D | InjectFieldValidator.java | 51 ValidationReport<VariableElement> validate(VariableElement fieldElement) { in validate() 52 ValidationReport.Builder<VariableElement> builder = ValidationReport.about(fieldElement); in validate()
|
D | ProductionComponentValidator.java | 42 ValidationReport<TypeElement> validate(final TypeElement subject) { in validate() 43 final ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate()
|
D | InjectMethodValidator.java | 53 ValidationReport<ExecutableElement> validate(ExecutableElement methodElement) { in validate() 54 ValidationReport.Builder<ExecutableElement> builder = ValidationReport.about(methodElement); in validate()
|
D | InjectConstructorValidator.java | 53 ValidationReport<TypeElement> validate(ExecutableElement constructorElement) { in validate() 54 ValidationReport.Builder<TypeElement> builder = in validate() 55 ValidationReport.about(MoreElements.asType(constructorElement.getEnclosingElement())); in validate()
|
D | BuilderValidator.java | 62 public ValidationReport<TypeElement> validate(TypeElement subject) { in validate() 63 ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate() 189 ValidationReport.Builder<TypeElement> builder, in error()
|
D | InjectProcessingStep.java | 91 ValidationReport<TypeElement> report = in process() 112 ValidationReport<VariableElement> report = fieldValidator.validate(fieldElement); in process() 126 ValidationReport<ExecutableElement> report = in process()
|
D | ComponentValidator.java | 121 abstract ValidationReport<TypeElement> report(); in report() 131 ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate() 250 private void validateSubcomponentMethod(final ValidationReport.Builder<TypeElement> builder, in validateSubcomponentMethod() 312 private void validateSubcomponentBuilderMethod(ValidationReport.Builder<TypeElement> builder, in validateSubcomponentBuilderMethod()
|
D | AbstractComponentProcessingStep.java | 70 ValidationReport<TypeElement> hierarchyReport = in process() 75 ValidationReport<TypeElement> graphReport = in process()
|
D | ModuleProcessingStep.java | 80 ValidationReport<ExecutableElement> methodReport = in process() 93 ValidationReport<TypeElement> report = in process()
|
D | ProducerModuleProcessingStep.java | 81 ValidationReport<ExecutableElement> methodReport = in process() 96 ValidationReport<TypeElement> report = in process()
|
D | MapKeyProcessingStep.java | 70 ValidationReport<Element> mapKeyReport = mapKeyValidator.validate(element); in process()
|
D | BindingGraphValidator.java | 141 final ValidationReport.Builder<TypeElement> reportBuilder; 147 ValidationReport.about(subject.componentDescriptor().componentDefinitionType()); in Validation() 154 ValidationReport<TypeElement> buildReport() { in buildReport() 1019 ValidationReport<TypeElement> validate(BindingGraph subject) {
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | ValidationReportTest.java | 20 import dagger.internal.codegen.ValidationReport.Builder; 51 ValidationReport.about(getTypeElement("test.TestClass")); in basicReport() 71 ValidationReport.about(getTypeElement("test.TestClass")); in messageOnDifferentElement() 91 ValidationReport.about(getTypeElement("test.TestClass")); in subreport() 93 ValidationReport<TypeElement> parentReport = in subreport() 94 ValidationReport.about(getTypeElement(String.class)) in subreport()
|