Home
last modified time | relevance | path

Searched refs:reportBuilder (Results 1 – 7 of 7) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProducesMethodValidator.java165 private void validateKeyType(ValidationReport.Builder<? extends Element> reportBuilder, in validateKeyType() argument
169 reportBuilder.addError(PRODUCES_METHOD_RETURN_TYPE, reportBuilder.getSubject()); in validateKeyType()
173 private void validateSingleReturnType(ValidationReport.Builder<? extends Element> reportBuilder, in validateSingleReturnType() argument
178 reportBuilder.addError(PRODUCES_METHOD_RAW_FUTURE, reportBuilder.getSubject()); in validateSingleReturnType()
180 validateKeyType(reportBuilder, Iterables.getOnlyElement(declaredType.getTypeArguments())); in validateSingleReturnType()
183 validateKeyType(reportBuilder, type); in validateSingleReturnType()
187 private void validateSetType(ValidationReport.Builder<? extends Element> reportBuilder, in validateSetType() argument
190 reportBuilder.addError(PRODUCES_METHOD_SET_VALUES_RETURN_SET, reportBuilder.getSubject()); in validateSetType()
197 reportBuilder.addError(PRODUCES_METHOD_SET_VALUES_RETURN_SET, reportBuilder.getSubject()); in validateSetType()
199 reportBuilder.addError( in validateSetType()
[all …]
DComponentHierarchyValidator.java46 ValidationReport.Builder<TypeElement> reportBuilder = in validateSubcomponentMethods() local
63 reportBuilder.addError( in validateSubcomponentMethods()
85 reportBuilder.addWarning( in validateSubcomponentMethods()
100 reportBuilder.addSubreport( in validateSubcomponentMethods()
113 return reportBuilder.build(); in validateSubcomponentMethods()
DBindingGraphValidator.java141 final ValidationReport.Builder<TypeElement> reportBuilder; field in BindingGraphValidator.Validation
146 this.reportBuilder = in Validation()
155 return reportBuilder.build(); in buildReport()
188 reportBuilder.addSubreport(subgraphValidation.buildReport()); in validateSubgraph()
206 reportBuilder.addError( in validateSubcomponentFactoryMethod()
358 reportBuilder.addItem( in validateNullability()
415 reportBuilder.addError( in validateMembersInjectionBinding()
476 reportBuilder.addError( in validateMembersInjectionBinding()
501 reportBuilder.addError( in validateMembersInjectionBinding()
541 reportBuilder.addItem(message.toString(), in validateComponentHierarchy()
[all …]
DProvidesMethodValidator.java178 private void validateKeyType(ValidationReport.Builder<? extends Element> reportBuilder, in validateKeyType() argument
182 reportBuilder.addError(PROVIDES_METHOD_RETURN_TYPE, reportBuilder.getSubject()); in validateKeyType()
DModuleValidator.java280 final ValidationReport.Builder<?> reportBuilder) { in validateModuleVisibility() argument
283 reportBuilder.addError("Modules cannot be private.", moduleElement); in validateModuleVisibility()
285 reportBuilder.addError("Modules cannot be enclosed in private types.", moduleElement); in validateModuleVisibility()
310 reportBuilder.addError( in validateModuleVisibility()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DValidationReportTest.java50 Builder<TypeElement> reportBuilder = in basicReport()
52 reportBuilder.addError("simple error"); in basicReport()
53 reportBuilder.build().printMessagesTo(processingEnv.getMessager()); in basicReport()
70 Builder<TypeElement> reportBuilder = in messageOnDifferentElement()
72 reportBuilder.addError("simple error", getTypeElement(String.class)); in messageOnDifferentElement()
73 reportBuilder.build().printMessagesTo(processingEnv.getMessager()); in messageOnDifferentElement()
90 Builder<TypeElement> reportBuilder = in subreport()
92 reportBuilder.addError("simple error"); in subreport()
95 .addSubreport(reportBuilder.build()) in subreport()
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.osgi_3.10.100.v20150529-1857.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...