MCPcopy Index your code
hub / github.com/google/dagger / boxPrimitives

Method boxPrimitives

java/dagger/internal/codegen/KeyFactory.java:84–86  ·  view source on GitHub ↗
(TypeMirror type)

Source from the content-addressed store, hash-verified

82 }
83
84 private TypeMirror boxPrimitives(TypeMirror type) {
85 return type.getKind().isPrimitive() ? types.boxedClass((PrimitiveType) type).asType() : type;
86 }
87
88 private DeclaredType setOf(TypeMirror elementType) {
89 return types.getDeclaredType(getClassElement(Set.class), boxPrimitives(elementType));

Callers 4

setOfMethod · 0.95
mapOfMethod · 0.95
mapOfFrameworkTypeMethod · 0.95
forQualifiedTypeMethod · 0.95

Calls 2

asTypeMethod · 0.80
boxedClassMethod · 0.80

Tested by

no test coverage detected