MCPcopy Index your code
hub / github.com/google/guice / computeHashCode

Method computeHashCode

core/src/com/google/inject/Key.java:137–139  ·  view source on GitHub ↗

Computes the hash code for this key.

()

Source from the content-addressed store, hash-verified

135
136 /** Computes the hash code for this key. */
137 private int computeHashCode() {
138 return typeLiteral.hashCode() * 31 + annotationStrategy.hashCode();
139 }
140
141 /** Gets the key type. */
142 public final TypeLiteral<T> getTypeLiteral() {

Callers 1

KeyMethod · 0.95

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected