Home
last modified time | relevance | path

Searched refs:typeVariable (Results 1 – 10 of 10) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java134 private void registerTypeVariableIfNotPresent(TypeVariable<?> typeVariable) { in registerTypeVariableIfNotPresent() argument
135 if (!contextualActualTypeParameters.containsKey(typeVariable)) { in registerTypeVariableIfNotPresent()
136 contextualActualTypeParameters.put(typeVariable, boundsOf(typeVariable)); in registerTypeVariableIfNotPresent()
220 TypeVariable<?> typeVariable = (TypeVariable<?>) type; in getActualTypeArgumentFor() local
221 return getActualTypeArgumentFor(typeVariable); in getActualTypeArgumentFor()
381 private final TypeVariable<?> typeVariable; field in GenericMetadataSupport.TypeVariableReturnType
385 …pe(GenericMetadataSupport source, TypeVariable<?>[] typeParameters, TypeVariable<?> typeVariable) { in TypeVariableReturnType() argument
387 this.typeVariable = typeVariable; in TypeVariableReturnType()
399 for (Type type : typeVariable.getBounds()) { in readTypeVariables()
402 registerTypeParametersOn(new TypeVariable[] { typeVariable }); in readTypeVariables()
[all …]
/external/guava/guava/src/com/google/common/reflect/
DTypeParameter.java44 final TypeVariable<?> typeVariable; field in TypeParameter
49 this.typeVariable = (TypeVariable<?>) type; in TypeParameter()
53 return typeVariable.hashCode(); in hashCode()
59 return typeVariable.equals(that.typeVariable); in equals()
65 return typeVariable.toString(); in toString()
DTypeResolver.java107 @Override void visitTypeVariable(TypeVariable<?> typeVariable) { in populateTypeMappings() argument
108 mappings.put(new TypeVariableKey(typeVariable), to); in populateTypeMappings()
DTypes.java329 TypeVariable<D> typeVariable = Reflection.newProxy( in newTypeVariableImpl() local
331 return typeVariable; in newTypeVariableImpl()
DTypeToken.java217 new TypeResolver.TypeVariableKey(typeParam.typeVariable), in where()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DInterfaceWriter.java35 public void addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable() argument
36 this.typeVariables.add(typeVariable); in addTypeVariable()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java450 TypeVariable<?> typeVariable = (TypeVariable<?>)
452 assertEquals(String.class, typeVariable.getBounds()[0]);
456 TypeVariable<?> typeVariable = (TypeVariable<?>)
458 assertEquals(Types.newParameterizedType(Enum.class, typeVariable),
459 typeVariable.getBounds()[0]);
DTypeParameterTest.java35 TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; in testCaptureTypeParameter()
DTypesTest.java337 TypeVariable<D> typeVariable, Type... bounds) { in withBounds() argument
339 typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds); in withBounds()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java348 private static Class<?> declaringClassOf(TypeVariable typeVariable) { in declaringClassOf() argument
349 GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); in declaringClassOf()