MCPcopy Create free account
hub / github.com/google/auto / hash

Method hash

common/src/main/java/com/google/auto/common/MoreTypes.java:479–481  ·  view source on GitHub ↗
(TypeMirror mirror, Set<Element> visiting)

Source from the content-addressed store, hash-verified

477 }
478
479 private static int hash(TypeMirror mirror, Set<Element> visiting) {
480 return mirror == null ? 0 : mirror.accept(HashVisitor.INSTANCE, visiting);
481 }
482
483 /**
484 * Returns the set of {@linkplain TypeElement types} that are referenced by the given {@link

Callers 14

doHashMethod · 0.95
hashListMethod · 0.95
hashCodeMethod · 0.80
hashCodeMethod · 0.80
hashCodeMethod · 0.80
hashCodeMethod · 0.80
hashCodeMethod · 0.80
doHashMethod · 0.80
visitAnnotationMethod · 0.80
visitArrayMethod · 0.80
visitTypeMethod · 0.80
hashCodeMethod · 0.80

Calls 1

acceptMethod · 0.45

Tested by 2

hashCodeMethod · 0.64
hashCodeMethod · 0.64