Home
last modified time | relevance | path

Searched refs:bindingMethods (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DBindingMethodValidator.java113 protected final String bindingMethods(String ruleFormat, Object... args) { in bindingMethods() method in BindingMethodValidator
167 bindingMethods( in checkEnclosingElement()
178 report.addError(bindingMethods("may not have type parameters")); in checkTypeParameters()
185 report.addError(bindingMethods("cannot be private")); in checkNotPrivate()
195 report.addError(bindingMethods("must be abstract")); in checkAbstractness()
201 report.addError(bindingMethods("cannot be abstract")); in checkAbstractness()
245 return validator.bindingMethods("may not throw"); in errorMessage()
254 report.addError(validator.bindingMethods("may not throw")); in checkThrows()
264 return validator.bindingMethods( in EXCEPTION()
273 return validator.bindingMethods("may only throw unchecked exceptions"); in RUNTIME_EXCEPTION()
DMultibindsMethodValidator.java73 report.addError(bindingMethods("cannot have parameters")); in checkParameters()
81 report.addError(bindingMethods("must return Map<K, V> or Set<T>")); in checkType()
DModuleValidator.java171 List<XMethodElement> bindingMethods = new ArrayList<>(); in validateUncached() local
175 bindingMethods.add(moduleMethod); in validateUncached()
194 if (bindingMethods.stream() in validateUncached()
208 Multimaps.index(bindingMethods, XElements::getSimpleName); in validateUncached()
DBindsMethodValidator.java81 bindingMethods( in checkParameters()