MCPcopy Create free account
hub / github.com/google/guice / getSources

Method getSources

core/src/com/google/inject/internal/Errors.java:633–641  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

631 }
632
633 private List<Object> getSources() {
634 List<Object> sources = Lists.newArrayList();
635 for (Errors e = this; e != null; e = e.parent) {
636 if (e.source != SourceProvider.UNKNOWN_SOURCE) {
637 sources.add(0, e.source);
638 }
639 }
640 return sources;
641 }
642
643 public void throwIfNewErrors(int expectedSize) throws ErrorsException {
644 if (size() == expectedSize) {

Callers 9

atInjectRequiredMethod · 0.95
scopeNotFoundMethod · 0.95
missingConstructorMethod · 0.95
duplicateMapKeyMethod · 0.95
bindingAlreadySetMethod · 0.95
mergeMethod · 0.95
addMessageMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected