Home
last modified time | relevance | path

Searched refs:getActualTypeArguments (Results 1 – 25 of 47) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java69 assertThat(ourType.getActualTypeArguments()).asList() in testNewParameterizedType()
70 .has().exactlyAs(asList(jvmType.getActualTypeArguments())).inOrder(); in testNewParameterizedType()
74 Arrays.asList(ourType.getActualTypeArguments())); in testNewParameterizedType()
110 assertThat(ourType.getActualTypeArguments()).asList() in testNewParameterizedTypeWithOwner()
111 .has().exactlyAs(asList(jvmType.getActualTypeArguments())).inOrder(); in testNewParameterizedTypeWithOwner()
218 return (WildcardType) parameterType.getActualTypeArguments()[0]; in getWildcardType()
293 return (TypeVariable<?>) parameterType.getActualTypeArguments()[0]; in getTypeVariable()
384 Type[] typesOut = parameterizedType.getActualTypeArguments(); in testNewParameterizedTypeImmutability()
388 assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]); in testNewParameterizedTypeImmutability()
389 assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]); in testNewParameterizedTypeImmutability()
DTypeTokenResolutionTest.java105 @Override public Type[] getActualTypeArguments() { in parameterizedType()
127 assertThat(resolved.getActualTypeArguments()).asList().has().item(String.class);
418 listType.getActualTypeArguments()[0]);
445 return parameterType.getActualTypeArguments()[0];
466 TypeVariable<?> k = (TypeVariable<?>) paramType.getActualTypeArguments()[0];
467 TypeVariable<?> v = (TypeVariable<?>) paramType.getActualTypeArguments()[1];
DTypeVisitorTest.java85 visit(t.getActualTypeArguments()); in testVisitRecursiveTypeBounds()
DTypeResolverTest.java214 return parameterizedType.getActualTypeArguments()[0]; in aWildcardType()
/external/guice/core/test/com/google/inject/util/
DTypesTest.java71 setStringArray = (GenericArrayType) listSetStringArray.getActualTypeArguments()[0]; in setUp()
84 assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]); in testDefensiveCopies()
85 parameterizedType.getActualTypeArguments()[1] = null; in testDefensiveCopies()
86 assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]); in testDefensiveCopies()
150 return (WildcardType) type.getActualTypeArguments()[0]; in getWildcard()
207 assertEquals(0, parameterizedType.getActualTypeArguments().length); in testInnerParameterizedEvenWithZeroArgs()
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMultimapTypeAdapterFactory.java48 TypeToken<K> keyType = (TypeToken<K>) TypeToken.of(rawType.getActualTypeArguments()[0]); in getMapOfListsToken()
50 TypeToken<V> valueType = (TypeToken<V>) TypeToken.of(rawType.getActualTypeArguments()[1]); in getMapOfListsToken()
60 TypeToken<K> keyType = (TypeToken<K>) TypeToken.of(rawType.getActualTypeArguments()[0]); in getMapOfSetsToken()
62 TypeToken<V> valueType = (TypeToken<V>) TypeToken.of(rawType.getActualTypeArguments()[1]); in getMapOfSetsToken()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java110 Types.providerOf(parameterizedType.getActualTypeArguments()[0])); in canonicalizeForKey()
166 p.getRawType(), p.getActualTypeArguments()); in canonicalize()
235 && Arrays.equals(pa.getActualTypeArguments(), pb.getActualTypeArguments()); in equals()
329 return ((ParameterizedType) declaredBy).getActualTypeArguments()[index]; in resolveTypeVariable()
375 public Type[] getActualTypeArguments() { in getActualTypeArguments() method in MoreTypes.ParameterizedTypeImpl
DInjectorImpl.java303 Type entryType = ((ParameterizedType) providerType).getActualTypeArguments()[0]; in getProvidedKey()
325 ((ParameterizedType) membersInjectorType).getActualTypeArguments()[0]); in createMembersInjectorBinding()
680 Type innerType = parameterizedType.getActualTypeArguments()[0];
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
DGenericProperty.java36 public Class<?>[] getActualTypeArguments() { // should we synchronize here ? in getActualTypeArguments() method in GenericProperty
40 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); in getActualTypeArguments()
DMissingProperty.java29 public Class<?>[] getActualTypeArguments() { in getActualTypeArguments() method in MissingProperty
DProperty.java45 abstract public Class<?>[] getActualTypeArguments(); in getActualTypeArguments() method in Property
/external/guice/extensions/mini/src/com/google/inject/mini/
DMiniGuice.java112 Type type = ((ParameterizedType) key.type).getActualTypeArguments()[0]; in requireKey()
369 public Type[] getActualTypeArguments() { in getActualTypeArguments() method in MiniGuice.ProviderType
380 return Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments()) in equals()
387 return Arrays.hashCode(getActualTypeArguments()) ^ rawType.hashCode(); in hashCode()
/external/guava/guava/src/com/google/common/reflect/
DTypeResolver.java131 Type[] fromArgs = fromParameterizedType.getActualTypeArguments(); in populateTypeMappings()
132 Type[] toArgs = toParameterizedType.getActualTypeArguments(); in populateTypeMappings()
199 Type[] args = type.getActualTypeArguments(); in resolveParameterizedType()
333 Type[] typeArgs = parameterizedType.getActualTypeArguments(); in visitParameterizedType()
402 capture(parameterizedType.getActualTypeArguments())); in capture()
DTypeCapture.java36 return ((ParameterizedType) superclass).getActualTypeArguments()[0]; in capture()
DTypes.java281 @Override public Type[] getActualTypeArguments() { in getActualTypeArguments() method in Types.ParameterizedTypeImpl
318 getActualTypeArguments(), that.getActualTypeArguments()); in equals()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java424 Type returnType = genericThrowingProvider.getActualTypeArguments()[0];
441 if(!checkArgument(genericThrowingProvider.getActualTypeArguments()[0].equals(valueType),
443 interfaceType, genericThrowingProvider.getActualTypeArguments()[0], valueType)) {
449 Type exceptionType = genericThrowingProvider.getActualTypeArguments()[1];
/external/mockito/src/org/mockito/internal/util/reflection/
DGenericMaster.java22 Type actual = ((ParameterizedType) generic).getActualTypeArguments()[0]; in getGenericType()
DGenericMetadataSupport.java74 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); in registerTypeVariablesOn()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java104 return canonicalize(parameterized.getActualTypeArguments()[0]); in getSuperclassTypeParameter()
208 Type[] args = original.getActualTypeArguments(); in resolveType()
/external/junit/src/org/junit/runners/model/
DNoGenericTypeParametersValidator.java37 for (Type each : parameterized.getActualTypeArguments()) in validateNoTypeParameterOnParameterizedType()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DParameter.java134 return ((ParameterizedType) type).getActualTypeArguments()[0]; in getProvidedType()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
DReflectionUtils.java85 for (Type typeArgument : parameterizedType.getActualTypeArguments()) { in getFullyQualifiedName()
/external/jcommander/src/main/java/com/beust/jcommander/
DParameterized.java230 Type cls = p.getActualTypeArguments()[0]; in findFieldGenericType()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DRepresenter.java171 Class<?>[] arguments = property.getActualTypeArguments(); in checkGlobalTag()
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/
DBoundFieldModule.java211 Type[] providerTypeArguments = ((ParameterizedType) providerType).getActualTypeArguments(); in getNaturalFieldType()

12