Home
last modified time | relevance | path

Searched refs:addError (Results 1 – 25 of 122) sorted by relevance

12345

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvidesMethodValidator.java82 builder.addError( in validate()
87 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()
101 builder.addError( in validate()
108 builder.addError( in validate()
124 builder.addError( in validate()
130 builder.addError( in validate()
137 builder.addError(PROVIDES_METHOD_SET_VALUES_RETURN_SET, providesMethodElement); in validate()
142 builder.addError(PROVIDES_METHOD_SET_VALUES_RETURN_SET, providesMethodElement); in validate()
[all …]
DProducesMethodValidator.java85 builder.addError( in validate()
90 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()
104 builder.addError( in validate()
111 builder.addError( in validate()
127 builder.addError( in validate()
133 builder.addError( in validate()
169 reportBuilder.addError(PRODUCES_METHOD_RETURN_TYPE, reportBuilder.getSubject()); in validateKeyType()
178 reportBuilder.addError(PRODUCES_METHOD_RAW_FUTURE, reportBuilder.getSubject()); in validateSingleReturnType()
[all …]
DBuilderValidator.java72 builder.addError(msgs.mustBeInComponent(), subject); in validate()
80 builder.addError(msgs.cxtorOnlyOneAndNoArgs(), subject); in validate()
87 builder.addError(msgs.mustBeClassOrInterface(), subject); in validate()
92 builder.addError(msgs.generics(), subject); in validate()
97 builder.addError(msgs.isPrivate(), subject); in validate()
100 builder.addError(msgs.mustBeStatic(), subject); in validate()
104 builder.addError(msgs.mustBeAbstract(), subject); in validate()
151 builder.addError(msgs.missingBuildMethod(), subject); in validate()
160 builder.addError(String.format(msgs.manyMethodsForType(), type, entry.getValue()), subject); in validate()
195 builder.addError(String.format(enclosedError, extraArgs), method); in error()
[all …]
DInjectConstructorValidator.java57 builder.addError(INJECT_ON_PRIVATE_CONSTRUCTOR, constructorElement); in validate()
61 builder.addError(QUALIFIER_ON_INJECT_CONSTRUCTOR, constructorElement, qualifier); in validate()
68 builder.addError(MULTIPLE_QUALIFIERS, constructorElement, qualifier); in validate()
78 builder.addError(INJECT_INTO_PRIVATE_CLASS, constructorElement); in validate()
82 builder.addError(INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS, constructorElement); in validate()
87 builder.addError(INJECT_CONSTRUCTOR_ON_INNER_CLASS, constructorElement); in validate()
100 builder.addError(MULTIPLE_INJECT_CONSTRUCTORS, constructorElement); in validate()
106 builder.addError(MULTIPLE_SCOPES, enclosingElement, scope); in validate()
DModuleValidator.java123 builder.addError(MODULES_WITH_TYPE_PARAMS_MUST_BE_ABSTRACT, subject); in validateModifiers()
134 builder.addError( in validateMethodsWithSameName()
162 builder.addError(mirror + " is not a valid module type.", subject); in validateReferencedModules()
170 builder.addError( in validateReferencedModules()
185 builder.addError( in validateReferencedModules()
204 builder.addError( in validateReferencedModules()
251 builder.addError( in validateProvidesOverrides()
265 builder.addError( in validateProvidesOverrides()
283 reportBuilder.addError("Modules cannot be private.", moduleElement); in validateModuleVisibility()
285 reportBuilder.addError("Modules cannot be enclosed in private types.", moduleElement); in validateModuleVisibility()
[all …]
DComponentValidator.java135 builder.addError( in validate()
145 builder.addError( in validate()
198 builder.addError( in validate()
204 builder.addError( in validate()
217 builder.addError( in validate()
285 builder.addError( in validateSubcomponentMethod()
293 builder.addError( in validateSubcomponentMethod()
303 builder.addError( in validateSubcomponentMethod()
317 builder.addError( in validateSubcomponentBuilderMethod()
DMapKeyValidator.java42 builder.addError(MAPKEY_WITHOUT_MEMBERS, element); in validate()
45 builder.addError(UNWRAPPED_MAP_KEY_WITH_TOO_MANY_MEMBERS, element); in validate()
47 builder.addError(UNWRAPPED_MAP_KEY_WITH_ARRAY_MEMBER, element); in validate()
DInjectMethodValidator.java57 builder.addError(ABSTRACT_INJECT_METHOD, methodElement); in validate()
69 builder.addError(GENERIC_INJECT_METHOD, methodElement); in validate()
76 builder.addError(MULTIPLE_QUALIFIERS, methodElement, qualifier); in validate()
DProductionComponentValidator.java47 builder.addError( in validate()
61 builder.addError(mirror + " is not a valid module type.", subject); in validate()
71 builder.addError( in validate()
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp195 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text; in consumeUnsignedLiteral()
230 Error->addError(Range, Error->ET_ParserStringError) << ErrorText; in consumeStringLiteral()
310 Error->addError(NameToken.Range, Error->ET_RegistryValueNotFound) in parseIdentifierPrefixImpl()
330 Error->addError(OpenToken.Range, Error->ET_ParserNoOpenParen) in parseMatcherExpressionImpl()
338 Error->addError(NameToken.Range, Error->ET_RegistryMatcherNotFound) in parseMatcherExpressionImpl()
359 Error->addError(CommaToken.Range, Error->ET_ParserNoComma) in parseMatcherExpressionImpl()
381 Error->addError(OpenToken.Range, Error->ET_ParserNoCloseParen); in parseMatcherExpressionImpl()
403 Error->addError(BindToken.Range, Error->ET_ParserMalformedBindExpr); in parseMatcherExpressionImpl()
407 Error->addError(OpenToken.Range, Error->ET_ParserMalformedBindExpr); in parseMatcherExpressionImpl()
411 Error->addError(IDToken.Range, Error->ET_ParserMalformedBindExpr); in parseMatcherExpressionImpl()
[all …]
/external/guice/core/src/com/google/inject/internal/
DProvidesMethodScanner.java63 binder.addError("Found a MapKey annotation on non map binding at %s.", method); in prepareMethod()
70 binder.addError("Found a MapKey annotation on non map binding at %s.", method); in prepareMethod()
80 binder.addError("No MapKey found for map binding at %s.", method); in prepareMethod()
88 binder.addError("Found a MapKey annotation on non map binding at %s.", method); in prepareMethod()
124 binder.addError("Found more than one MapKey annotations on %s.", method); in findMapKeyAnnotation()
132 binder.addError( in findMapKeyAnnotation()
138 binder.addError( in findMapKeyAnnotation()
DAbstractBindingBuilder.java110 binder.addError(IMPLEMENTATION_ALREADY_SET); in checkNotTargetted()
116 binder.addError(ANNOTATION_ALREADY_SPECIFIED); in checkNotAnnotated()
123 binder.addError(SINGLE_INSTANCE_AND_SCOPE); in checkNotScoped()
128 binder.addError(SCOPE_ALREADY_SET); in checkNotScoped()
/external/guice/examples/src/example/xml/
DXmlBeanModule.java51 originalBinder.addError(e); in configure()
65 sourced.addError("Missing 'type' attribute."); in start()
74 sourced.addError(e); in start()
82 sourced.addError("%s doesn't have a no-arg constructor."); in start()
112 sourced.addError("Missing attribute name."); in start()
128 sourced.addError("%s.%s() not found.", type.getName(), setterName); in start()
135 sourced.addError("%s.%s() must take one argument.", setterName, type.getName()); in start()
/external/guice/core/src/com/google/inject/
DAbstractModule.java107 protected void addError(String message, Object... arguments) { in addError() method in AbstractModule
108 binder().addError(message, arguments); in addError()
112 protected void addError(Throwable t) { in addError() method in AbstractModule
113 binder().addError(t); in addError()
120 protected void addError(Message message) { in addError() method in AbstractModule
121 binder().addError(message); in addError()
DPrivateModule.java175 protected final void addError(String message, Object... arguments) { in addError() method in PrivateModule
176 binder().addError(message, arguments); in addError()
180 protected final void addError(Throwable t) { in addError() method in PrivateModule
181 binder().addError(t); in addError()
185 protected final void addError(Message message) { in addError() method in PrivateModule
186 binder().addError(message); in addError()
DBinder.java262 void addError(String message, Object... arguments); in addError() method
269 void addError(Throwable t); in addError() method
276 void addError(Message message); in addError() method
/external/apache-commons-bcel/src/examples/Mini/
DASTIfExpr.java62 MiniC.addError(if_expr.getLine(), if_expr.getColumn(), in closeNode()
97 MiniC.addError(if_expr.getLine(), if_expr.getColumn(), in eval()
105 MiniC.addError(then_expr.getLine(), then_expr.getColumn(), in eval()
114 MiniC.addError(else_expr.getLine(), else_expr.getColumn(), in eval()
128 MiniC.addError(line, column, in eval()
DASTFunAppl.java89 MiniC.addError(name.getLine(), name.getColumn(), in traverse()
93 MiniC.addError(name.getLine(), name.getColumn(), in traverse()
100 MiniC.addError(name.getLine(), name.getColumn(), in traverse()
142 MiniC.addError(exprs[i].getLine(), exprs[i].getColumn(), in eval()
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerMethodScanner.java57 binder.addError("@ElementsIntoSet contributions are not suppored by Guice.", providesMethod); in prepareMethod()
61 binder.addError("Map bindings are not yet supported."); in prepareMethod()
71 binder.addError( in prepareMethod()
75 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod); in prepareMethod()
/external/guice/core/src/com/google/inject/spi/
DTypeEncounter.java43 void addError(String message, Object... arguments); in addError() method
50 void addError(Throwable t); in addError() method
53 void addError(Message message); in addError() method
/external/jsoncpp/src/lib_json/
Djson_reader.cpp142 addError( in parse()
213 return addError("Syntax error: value, object or array expected.", token); in readValue()
237 return addError(message, token); in expectToken()
531 return addError("'" + std::string(token.start_, token.end_) + in decodeNumber()
574 return addError("Unable to parse token length", token); in decodeDouble()
595 return addError("'" + std::string(token.start_, token.end_) + in decodeDouble()
622 return addError("Empty escape sequence in string", token, current); in decodeString()
656 return addError("Bad escape sequence in string", token, current); in decodeString()
675 return addError( in decodeUnicodeCodePoint()
686 return addError("expecting another \\u token to begin the second half of " in decodeUnicodeCodePoint()
[all …]
/external/guice/core/test/com/google/inject/
DProvisionExceptionTest.java342 addError(sharedException); in testDuplicateCausesCollapsed()
343 addError(sharedException); in testDuplicateCausesCollapsed()
364 addError(exception1); in testMultipleDuplicates()
365 addError(exception1); in testMultipleDuplicates()
366 addError(exception2); in testMultipleDuplicates()
367 addError(exception2); in testMultipleDuplicates()
/external/junit/src/main/java/junit/framework/
DTestResult.java36 public synchronized void addError(Test test, Throwable e) { in addError() method in TestResult
39 each.addError(test, e); in addError()
148 addError(test, e); in runProtected()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DValidationReportTest.java52 reportBuilder.addError("simple error"); in basicReport()
72 reportBuilder.addError("simple error", getTypeElement(String.class)); in messageOnDifferentElement()
92 reportBuilder.addError("simple error"); in subreport()
/external/python/cpython2/Lib/unittest/test/
Dsupport.py74 def addError(self, *args): member in LoggingResult
76 super(LoggingResult, self).addError(*args)
109 def addError(self, test): member in ResultWithNoStartTestRunStopTestRun

12345