Home
last modified time | relevance | path

Searched refs:formatErrorMessage (Results 1 – 5 of 5) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvidesMethodValidator.java87 builder.addError(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER), providesMethodElement); in validate()
92 builder.addError(formatErrorMessage(BINDING_METHOD_PRIVATE), providesMethodElement); in validate()
95 builder.addError(formatErrorMessage(BINDING_METHOD_ABSTRACT), providesMethodElement); in validate()
102 formatErrorMessage(BINDING_METHOD_MUST_RETURN_A_VALUE), providesMethodElement); in validate()
109 formatErrorMessage(BINDING_METHOD_NOT_MAP_HAS_MAP_KEY), providesMethodElement); in validate()
125 formatErrorMessage(BINDING_METHOD_WITH_NO_MAP_KEY), providesMethodElement); in validate()
131 formatErrorMessage(BINDING_METHOD_WITH_MULTIPLE_MAP_KEY), providesMethodElement); in validate()
145 formatErrorMessage(BINDING_METHOD_SET_VALUES_RAW_SET), providesMethodElement); in validate()
170 private String formatErrorMessage(String msg) { in formatErrorMessage() method in ProvidesMethodValidator
DProducesMethodValidator.java90 builder.addError(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER), producesMethodElement); in validate()
95 builder.addError(formatErrorMessage(BINDING_METHOD_PRIVATE), producesMethodElement); in validate()
98 builder.addError(formatErrorMessage(BINDING_METHOD_ABSTRACT), producesMethodElement); in validate()
105 formatErrorMessage(BINDING_METHOD_MUST_RETURN_A_VALUE), producesMethodElement); in validate()
112 formatErrorMessage(BINDING_METHOD_NOT_MAP_HAS_MAP_KEY), producesMethodElement); in validate()
128 formatErrorMessage(BINDING_METHOD_WITH_NO_MAP_KEY), producesMethodElement); in validate()
134 formatErrorMessage(BINDING_METHOD_WITH_MULTIPLE_MAP_KEY), producesMethodElement); in validate()
157 private String formatErrorMessage(String msg) { in formatErrorMessage() method in ProducesMethodValidator
200 formatErrorMessage(BINDING_METHOD_SET_VALUES_RAW_SET), reportBuilder.getSubject()); in validateSetType()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DProducerModuleFactoryGeneratorTest.java43 private String formatErrorMessage(String msg) { in formatErrorMessage() method in ProducerModuleFactoryGeneratorTest
82 .withErrorContaining(formatErrorMessage(BINDING_METHOD_ABSTRACT)); in producesMethodAbstract()
101 .withErrorContaining(formatErrorMessage(BINDING_METHOD_PRIVATE)); in producesMethodPrivate()
118 .withErrorContaining(formatErrorMessage(BINDING_METHOD_MUST_RETURN_A_VALUE)); in producesMethodReturnVoid()
173 .withErrorContaining(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER)); in producesMethodWithTypeParameter()
219 .withErrorContaining(formatErrorMessage(BINDING_METHOD_SET_VALUES_RAW_SET)); in producesMethodSetValuesRawSet()
290 .withErrorContaining(formatErrorMessage(BINDING_METHOD_SET_VALUES_RAW_SET)); in producesMethodSetValuesFutureRawSet()
DModuleFactoryGeneratorTest.java54 private String formatErrorMessage(String msg) { in formatErrorMessage() method in ModuleFactoryGeneratorTest
93 .withErrorContaining(formatErrorMessage(BINDING_METHOD_ABSTRACT)); in providesMethodAbstract()
112 .withErrorContaining(formatErrorMessage(BINDING_METHOD_PRIVATE)); in providesMethodPrivate()
129 .withErrorContaining(formatErrorMessage(BINDING_METHOD_MUST_RETURN_A_VALUE)); in providesMethodReturnVoid()
148 .withErrorContaining(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER)); in providesMethodWithTypeParameter()
194 .withErrorContaining(formatErrorMessage(BINDING_METHOD_SET_VALUES_RAW_SET)); in providesMethodSetValuesRawSet()
762 .withErrorContaining(formatErrorMessage(BINDING_METHOD_WITH_SAME_NAME)).in(moduleFile).onLine(8) in multipleProvidesMethodsWithSameName()
763 .and().withErrorContaining(formatErrorMessage(BINDING_METHOD_WITH_SAME_NAME)) in multipleProvidesMethodsWithSameName()
/external/icu/icu4c/source/test/intltest/
Dtsmthred.cpp399 static void formatErrorMessage(UErrorCode &realStatus, const UnicodeString& pattern, const Locale& … in formatErrorMessage() function
738 formatErrorMessage(status,patternToCheck,messageLocale,statusToCheck, in run()