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

Method equals

core/src/com/google/inject/internal/Scoping.java:260–269  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

258 }
259
260 @Override
261 public boolean equals(Object obj) {
262 if (obj instanceof Scoping) {
263 Scoping o = (Scoping) obj;
264 return Objects.equal(getScopeAnnotation(), o.getScopeAnnotation())
265 && Objects.equal(getScopeInstance(), o.getScopeInstance());
266 } else {
267 return false;
268 }
269 }
270
271 @Override
272 public int hashCode() {

Callers

nothing calls this directly

Calls 2

getScopeAnnotationMethod · 0.95
getScopeInstanceMethod · 0.95

Tested by

no test coverage detected