Home
last modified time | relevance | path

Searched refs:diagnosticKind (Results 1 – 9 of 9) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DDiagnosticReporterFactory.java86 Diagnostic.Kind diagnosticKind, ComponentNode componentNode, String messageFormat) { in reportComponent() argument
90 printMessage(diagnosticKind, message, rootComponent); in reportComponent()
96 Diagnostic.Kind diagnosticKind, in reportComponent() argument
102 diagnosticKind, componentNode, formatMessage(messageFormat, firstArg, moreArgs)); in reportComponent()
108 Diagnostic.Kind diagnosticKind, MaybeBinding binding, String message) { in reportBinding() argument
110 diagnosticKind, message + diagnosticMessageGenerator.getMessage(binding), rootComponent); in reportBinding()
115 Diagnostic.Kind diagnosticKind, in reportBinding() argument
120 reportBinding(diagnosticKind, binding, formatMessage(messageFormat, firstArg, moreArgs)); in reportBinding()
125 Diagnostic.Kind diagnosticKind, DependencyEdge dependencyEdge, String message) { in reportDependency() argument
127 diagnosticKind, in reportDependency()
[all …]
DCompositeBindingGraphPlugin.java157 public void reportComponent(Diagnostic.Kind diagnosticKind, ComponentNode componentNode, in reportComponent() argument
159 addMessage(diagnosticKind, message); in reportComponent()
166 Diagnostic.Kind diagnosticKind, in reportComponent() argument
172 diagnosticKind, componentNode, formatMessage(messageFormat, firstArg, moreArgs)); in reportComponent()
176 public void reportBinding(Diagnostic.Kind diagnosticKind, MaybeBinding binding, in reportBinding() argument
178 addMessage(diagnosticKind, in reportBinding()
185 Diagnostic.Kind diagnosticKind, in reportBinding() argument
190 reportBinding(diagnosticKind, binding, formatMessage(messageFormat, firstArg, moreArgs)); in reportBinding()
195 Diagnostic.Kind diagnosticKind, DependencyEdge dependencyEdge, String message) { in reportDependency() argument
196 addMessage(diagnosticKind, in reportDependency()
[all …]
DComponentDescriptorValidator.java179 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateComponentDependencyHierarchy()
217 if (compilerOptions.scopeCycleValidationType().diagnosticKind().isPresent() in validateDependencyScopes()
227 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateDependencyScopes()
427 if (compilerOptions.scopeCycleValidationType().diagnosticKind().isPresent()) { in validateDependencyScopeHierarchy()
429 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateDependencyScopeHierarchy()
DComponentHierarchyValidator.java72 if (compilerOptions.scopeCycleValidationType().diagnosticKind().isPresent()) { in validate()
169 compilerOptions.scopeCycleValidationType().diagnosticKind().get(), in validateScopeHierarchy()
/external/dagger2/java/dagger/spi/
DDiagnosticReporter.java38 void reportComponent(Diagnostic.Kind diagnosticKind, ComponentNode componentNode, String message); in reportComponent() argument
46 Diagnostic.Kind diagnosticKind, in reportComponent() argument
56 void reportBinding(Diagnostic.Kind diagnosticKind, MaybeBinding binding, String message); in reportBinding() argument
64 Diagnostic.Kind diagnosticKind, in reportBinding() argument
75 Diagnostic.Kind diagnosticKind, DependencyEdge dependencyEdge, String message); in reportDependency() argument
83 Diagnostic.Kind diagnosticKind, in reportDependency() argument
91 Diagnostic.Kind diagnosticKind, in reportSubcomponentFactoryMethod() argument
98 Diagnostic.Kind diagnosticKind, in reportSubcomponentFactoryMethod() argument
/external/dagger2/java/dagger/internal/codegen/compileroption/
DProcessingEnvironmentCompilerOptions.java119 return diagnosticKind(NULLABLE_VALIDATION); in nullableValidationKind()
124 return diagnosticKind(PRIVATE_MEMBER_VALIDATION); in privateMemberValidationKind()
129 return diagnosticKind(STATIC_MEMBER_VALIDATION); in staticMemberValidationKind()
164 return diagnosticKind(MODULE_HAS_DIFFERENT_SCOPES_VALIDATION); in moduleHasDifferentScopesDiagnosticKind()
203 private Diagnostic.Kind diagnosticKind(Validation validation) { in diagnosticKind() method in ProcessingEnvironmentCompilerOptions
204 return parseOption(validation).diagnosticKind().get(); in diagnosticKind()
460 Diagnostic.Kind diagnosticKind, EnumOption<?> option, ImmutableSet<String> usedNames) { in reportUseOfDifferentNamesForOption() argument
464 diagnosticKind, in reportUseOfDifferentNamesForOption()
DValidationType.java31 public Optional<Diagnostic.Kind> diagnosticKind() { in diagnosticKind() method in ValidationType
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DIncompatiblyScopedBindingsValidator.java95 Diagnostic.Kind diagnosticKind = ERROR; in report() local
106 diagnosticKind = compilerOptions.moduleHasDifferentScopesDiagnosticKind(); in report()
143 diagnosticReporter.reportComponent(diagnosticKind, componentNode, message.toString()); in report()
DDuplicateBindingsValidator.java155 .diagnosticKind() in reportDuplicateBindings()
157 diagnosticKind -> in reportDuplicateBindings()
161 diagnosticKind, in reportDuplicateBindings()
196 Kind diagnosticKind, in reportExplicitBindingConflictsWithInject() argument
213 diagnosticReporter.reportComponent(diagnosticKind, rootComponent, message.toString()); in reportExplicitBindingConflictsWithInject()
215 diagnosticReporter.reportBinding(diagnosticKind, explicitBinding, message.toString()); in reportExplicitBindingConflictsWithInject()