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

Method getSource

core/src/com/google/inject/spi/Message.java:96–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 @Override
97 public String getSource() {
98 List<Object> sources = errorDetail.getSources();
99 return sources.isEmpty()
100 ? SourceProvider.UNKNOWN_SOURCE.toString()
101 : Errors.convert(Iterables.getLast(sources)).toString();
102 }
103
104 /** @since 2.0 */
105 public List<Object> getSources() {

Callers 1

applyToMethod · 0.95

Calls 4

convertMethod · 0.95
toStringMethod · 0.65
getSourcesMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected