Home
last modified time | relevance | path

Searched refs:ValidationReport (Results 1 – 21 of 21) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentProcessingStep.java82 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 …]
DProductionComponentProcessingStep.java75 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 =
DValidationReport.java51 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() {
DModuleValidator.java93 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()
DComponentHierarchyValidator.java35 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()
DMapKeyValidator.java38 ValidationReport<Element> validate(Element element) { in validate()
39 ValidationReport.Builder<Element> builder = ValidationReport.about(element); in validate()
DProducesMethodValidator.java76 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()
DProvidesMethodValidator.java73 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()
DInjectFieldValidator.java51 ValidationReport<VariableElement> validate(VariableElement fieldElement) { in validate()
52 ValidationReport.Builder<VariableElement> builder = ValidationReport.about(fieldElement); in validate()
DProductionComponentValidator.java42 ValidationReport<TypeElement> validate(final TypeElement subject) { in validate()
43 final ValidationReport.Builder<TypeElement> builder = ValidationReport.about(subject); in validate()
DInjectMethodValidator.java53 ValidationReport<ExecutableElement> validate(ExecutableElement methodElement) { in validate()
54 ValidationReport.Builder<ExecutableElement> builder = ValidationReport.about(methodElement); in validate()
DInjectConstructorValidator.java53 ValidationReport<TypeElement> validate(ExecutableElement constructorElement) { in validate()
54 ValidationReport.Builder<TypeElement> builder = in validate()
55 ValidationReport.about(MoreElements.asType(constructorElement.getEnclosingElement())); in validate()
DBuilderValidator.java62 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()
DInjectProcessingStep.java91 ValidationReport<TypeElement> report = in process()
112 ValidationReport<VariableElement> report = fieldValidator.validate(fieldElement); in process()
126 ValidationReport<ExecutableElement> report = in process()
DComponentValidator.java121 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()
DAbstractComponentProcessingStep.java70 ValidationReport<TypeElement> hierarchyReport = in process()
75 ValidationReport<TypeElement> graphReport = in process()
DModuleProcessingStep.java80 ValidationReport<ExecutableElement> methodReport = in process()
93 ValidationReport<TypeElement> report = in process()
DProducerModuleProcessingStep.java81 ValidationReport<ExecutableElement> methodReport = in process()
96 ValidationReport<TypeElement> report = in process()
DMapKeyProcessingStep.java70 ValidationReport<Element> mapKeyReport = mapKeyValidator.validate(element); in process()
DBindingGraphValidator.java141 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/
DValidationReportTest.java20 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()