Home
last modified time | relevance | path

Searched refs:wrappingClass (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/base/
DSetType.java75 public TypeMirror unwrappedElementType(Class<?> wrappingClass) { in unwrappedElementType() argument
77 wrappingClass.getTypeParameters().length == 1, in unwrappedElementType()
79 wrappingClass); in unwrappedElementType() local
81 elementsAreTypeOf(wrappingClass), in unwrappedElementType()
83 wrappingClass, in unwrappedElementType() local
DMapType.java113 public TypeMirror unwrappedValueType(Class<?> wrappingClass) { in unwrappedValueType() argument
115 wrappingClass.getTypeParameters().length == 1, in unwrappedValueType()
117 wrappingClass); in unwrappedValueType() local
118 checkState(valuesAreTypeOf(wrappingClass), "expected values to be %s: %s", wrappingClass, this); in unwrappedValueType() local
/external/dagger2/java/dagger/internal/codegen/binding/
DKeyFactory.java388 private Optional<Key> wrapMapKey(Key possibleMapKey, Class<?> wrappingClass) { in wrapMapKey() argument
391 if (!mapType.isRawType() && !mapType.valuesAreTypeOf(wrappingClass)) { in wrapMapKey()
392 TypeElement wrappingElement = elements.getTypeElement(wrappingClass); in wrapMapKey()
410 Optional<Key> unwrapSetKey(Key key, Class<?> wrappingClass) { in unwrapSetKey() argument
413 if (!setType.isRawType() && setType.elementsAreTypeOf(wrappingClass)) { in unwrapSetKey()
415 key.toBuilder().type(setOf(setType.unwrappedElementType(wrappingClass))).build()); in unwrapSetKey()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerTypes.java120 public DeclaredType wrapType(TypeMirror type, Class<?> wrappingClass) { in wrapType() argument
121 return types.getDeclaredType(elements.getTypeElement(wrappingClass), type); in wrapType()
135 public DeclaredType rewrapType(TypeMirror type, Class<?> wrappingClass) { in rewrapType() argument
137 TypeElement wrappingType = elements.getTypeElement(wrappingClass); in rewrapType()