Home
last modified time | relevance | path

Searched refs:ErrorMessages (Results 1 – 25 of 27) sorted by relevance

12

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvidesMethodValidator.java36 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
37 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
38 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
39 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_MAP_HAS_MAP_KEY;
40 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
41 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
42 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
43 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_MULTIPLE_MAP_KEY;
44 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_NO_MAP_KEY;
45 import static dagger.internal.codegen.ErrorMessages.PROVIDES_METHOD_RETURN_TYPE;
[all …]
DProducesMethodValidator.java38 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
39 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
40 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
41 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_MAP_HAS_MAP_KEY;
42 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
43 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
44 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
45 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_MULTIPLE_MAP_KEY;
46 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_NO_MAP_KEY;
47 import static dagger.internal.codegen.ErrorMessages.PRODUCES_METHOD_RAW_FUTURE;
[all …]
DInjectConstructorValidator.java32 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS;
33 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_INNER_CLASS;
34 import static dagger.internal.codegen.ErrorMessages.INJECT_INTO_PRIVATE_CLASS;
35 import static dagger.internal.codegen.ErrorMessages.INJECT_ON_PRIVATE_CONSTRUCTOR;
36 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_INJECT_CONSTRUCTORS;
37 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
38 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_SCOPES;
39 import static dagger.internal.codegen.ErrorMessages.QUALIFIER_ON_INJECT_CONSTRUCTOR;
DInjectMethodValidator.java27 import static dagger.internal.codegen.ErrorMessages.ABSTRACT_INJECT_METHOD;
28 import static dagger.internal.codegen.ErrorMessages.GENERIC_INJECT_METHOD;
29 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
30 import static dagger.internal.codegen.ErrorMessages.PRIVATE_INJECT_METHOD;
31 import static dagger.internal.codegen.ErrorMessages.STATIC_INJECT_METHOD;
DInjectFieldValidator.java26 import static dagger.internal.codegen.ErrorMessages.FINAL_INJECT_FIELD;
27 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
28 import static dagger.internal.codegen.ErrorMessages.PRIVATE_INJECT_FIELD;
29 import static dagger.internal.codegen.ErrorMessages.STATIC_INJECT_FIELD;
DMapKeyValidator.java25 import static dagger.internal.codegen.ErrorMessages.MAPKEY_WITHOUT_MEMBERS;
26 import static dagger.internal.codegen.ErrorMessages.UNWRAPPED_MAP_KEY_WITH_ARRAY_MEMBER;
27 import static dagger.internal.codegen.ErrorMessages.UNWRAPPED_MAP_KEY_WITH_TOO_MANY_MEMBERS;
DBindingGraphValidator.java88 import static dagger.internal.codegen.ErrorMessages.DUPLICATE_SIZE_LIMIT;
89 import static dagger.internal.codegen.ErrorMessages.INDENT;
90 import static dagger.internal.codegen.ErrorMessages.MEMBERS_INJECTION_WITH_UNBOUNDED_TYPE;
91 import static dagger.internal.codegen.ErrorMessages.REQUIRES_AT_INJECT_CONSTRUCTOR_OR_PROVIDER_FORM…
92 import static dagger.internal.codegen.ErrorMessages.REQUIRES_AT_INJECT_CONSTRUCTOR_OR_PROVIDER_OR_P…
93 import static dagger.internal.codegen.ErrorMessages.REQUIRES_PROVIDER_FORMAT;
94 import static dagger.internal.codegen.ErrorMessages.REQUIRES_PROVIDER_OR_PRODUCER_FORMAT;
95 import static dagger.internal.codegen.ErrorMessages.duplicateMapKeysError;
96 import static dagger.internal.codegen.ErrorMessages.inconsistentMapKeyAnnotationsError;
97 import static dagger.internal.codegen.ErrorMessages.nullableToNonNullable;
[all …]
DModuleValidator.java55 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_SAME_NAME;
56 import static dagger.internal.codegen.ErrorMessages.METHOD_OVERRIDES_PROVIDES_METHOD;
57 import static dagger.internal.codegen.ErrorMessages.MODULES_WITH_TYPE_PARAMS_MUST_BE_ABSTRACT;
58 import static dagger.internal.codegen.ErrorMessages.PROVIDES_METHOD_OVERRIDES_ANOTHER;
59 import static dagger.internal.codegen.ErrorMessages.REFERENCED_MODULES_MUST_NOT_BE_ABSTRACT;
60 import static dagger.internal.codegen.ErrorMessages.REFERENCED_MODULE_MUST_NOT_HAVE_TYPE_PARAMS;
61 import static dagger.internal.codegen.ErrorMessages.REFERENCED_MODULE_NOT_ANNOTATED;
DMethodSignatureFormatter.java34 import static dagger.internal.codegen.ErrorMessages.stripCommonTypePrefixes;
74 builder.append(ErrorMessages.format(annotationIterator.next())); in format()
101 builder.append(ErrorMessages.format(qualifier.get())).append(' '); in appendParameter()
DErrorMessages.java29 final class ErrorMessages { class
441 private ErrorMessages() {} in ErrorMessages() method in ErrorMessages
DComponentValidator.java146 String.format(ErrorMessages.builderMsgsFor(componentType).moreThanOne(), builders), in validate()
219 ErrorMessages.SubcomponentBuilderMessages.INSTANCE.moreThanOneRefToSubcomponent(), in validate()
318 ErrorMessages.SubcomponentBuilderMessages.INSTANCE.builderMethodRequiresNoArgs(), method); in validateSubcomponentBuilderMethod()
DBuilderValidator.java66 ErrorMessages.ComponentBuilderMessages msgs = ErrorMessages.builderMsgsFor(componentType); in validate()
DScope.java29 import static dagger.internal.codegen.ErrorMessages.stripCommonTypePrefixes;
DDependencyRequestFormatter.java35 import static dagger.internal.codegen.ErrorMessages.INDENT;
DContributionBinding.java247 String.format(ErrorMessages.MULTIPLE_CONTRIBUTION_TYPES_FORMAT, types));
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DModuleFactoryGeneratorTest.java29 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
30 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
31 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
32 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
33 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
34 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
35 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_SAME_NAME;
36 import static dagger.internal.codegen.ErrorMessages.MODULES_WITH_TYPE_PARAMS_MUST_BE_ABSTRACT;
37 import static dagger.internal.codegen.ErrorMessages.PROVIDES_METHOD_RETURN_TYPE;
38 import static dagger.internal.codegen.ErrorMessages.PROVIDES_METHOD_SET_VALUES_RETURN_SET;
[all …]
DProducerModuleFactoryGeneratorTest.java29 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
30 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
31 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
32 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
33 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
34 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
35 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_SAME_NAME;
36 import static dagger.internal.codegen.ErrorMessages.PRODUCES_METHOD_RAW_FUTURE;
37 import static dagger.internal.codegen.ErrorMessages.PRODUCES_METHOD_RETURN_TYPE;
38 import static dagger.internal.codegen.ErrorMessages.PRODUCES_METHOD_SET_VALUES_RETURN_SET;
[all …]
DInjectConstructorFactoryGeneratorTest.java28 import static dagger.internal.codegen.ErrorMessages.ABSTRACT_INJECT_METHOD;
29 import static dagger.internal.codegen.ErrorMessages.FINAL_INJECT_FIELD;
30 import static dagger.internal.codegen.ErrorMessages.GENERIC_INJECT_METHOD;
31 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS;
32 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_INNER_CLASS;
33 import static dagger.internal.codegen.ErrorMessages.INJECT_ON_PRIVATE_CONSTRUCTOR;
34 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_INJECT_CONSTRUCTORS;
35 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
36 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_SCOPES;
37 import static dagger.internal.codegen.ErrorMessages.PRIVATE_INJECT_FIELD;
[all …]
DErrorMessagesTest.java28 assertThat(ErrorMessages.stripCommonTypePrefixes(typeName)).isEqualTo("ImmutableList<Boolean>"); in stripCommonTypePrefixes()
DComponentBuilderTest.java33 private static final ErrorMessages.ComponentBuilderMessages MSGS =
34 ErrorMessages.ComponentBuilderMessages.INSTANCE;
DSubcomponentBuilderValidationTest.java33 private static final ErrorMessages.SubcomponentBuilderMessages MSGS =
34 new ErrorMessages.SubcomponentBuilderMessages();
DComponentProcessorTest.java39 import static dagger.internal.codegen.ErrorMessages.REFERENCED_MODULES_MUST_NOT_BE_ABSTRACT;
45 StringLiteral.forValue(ErrorMessages.CANNOT_RETURN_NULL_FROM_NON_NULLABLE_COMPONENT_METHOD);
DGraphValidationTest.java31 import static dagger.internal.codegen.ErrorMessages.nullableToNonNullable;
/external/libchrome/base/json/
Djson_parser.h260 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ErrorMessages);
Djson_parser_unittest.cc205 TEST_F(JSONParserTest, ErrorMessages) { in TEST_F() argument

12