Searched refs:typeVariable (Results 1 – 10 of 10) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 134 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/ |
D | TypeParameter.java | 44 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()
|
D | TypeResolver.java | 107 @Override void visitTypeVariable(TypeVariable<?> typeVariable) { in populateTypeMappings() argument 108 mappings.put(new TypeVariableKey(typeVariable), to); in populateTypeMappings()
|
D | Types.java | 329 TypeVariable<D> typeVariable = Reflection.newProxy( in newTypeVariableImpl() local 331 return typeVariable; in newTypeVariableImpl()
|
D | TypeToken.java | 217 new TypeResolver.TypeVariableKey(typeParam.typeVariable), in where()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | InterfaceWriter.java | 35 public void addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable() argument 36 this.typeVariables.add(typeVariable); in addTypeVariable()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 450 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]);
|
D | TypeParameterTest.java | 35 TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; in testCaptureTypeParameter()
|
D | TypesTest.java | 337 TypeVariable<D> typeVariable, Type... bounds) { in withBounds() argument 339 typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds); in withBounds()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 348 private static Class<?> declaringClassOf(TypeVariable typeVariable) { in declaringClassOf() argument 349 GenericDeclaration genericDeclaration = typeVariable.getGenericDeclaration(); in declaringClassOf()
|