Home
last modified time | relevance | path

Searched refs:getActualTypeArguments (Results 1 – 25 of 44) 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()
/external/guice/core/test/com/google/inject/util/
DTypesTest.java66 setStringArray = (GenericArrayType) listSetStringArray.getActualTypeArguments()[0]; in setUp()
79 assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]); in testDefensiveCopies()
80 parameterizedType.getActualTypeArguments()[1] = null; in testDefensiveCopies()
81 assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]); in testDefensiveCopies()
148 return (WildcardType) type.getActualTypeArguments()[0]; in getWildcard()
202 assertEquals(0, parameterizedType.getActualTypeArguments().length); in testInnerParameterizedEvenWithZeroArgs()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java40 Type returnType = genericThrowingProvider.getActualTypeArguments()[0]; in checkInterface()
61 genericThrowingProvider.getActualTypeArguments()[0].equals(valueType.get()), in checkInterface()
64 genericThrowingProvider.getActualTypeArguments()[0], in checkInterface()
70 Type exceptionType = genericThrowingProvider.getActualTypeArguments()[1]; in checkInterface()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt3 …Line 42) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty…
4 …Line 42) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty…
5 …Line 42) Arrays.stream(parameterizedType.getActualTypeArguments()) ==> java.util.Arrays.stream(T[])
6 …Line 42) parameterizedType.getActualTypeArguments() ==> java.lang.reflect.ParameterizedType.getAct…
12 …Line 55) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty…
13 …Line 55) Arrays.stream(parameterizedType.getActualTypeArguments()).map((t) -> ReflectionFactory.ty…
14 …Line 55) Arrays.stream(parameterizedType.getActualTypeArguments()) ==> java.util.Arrays.stream(T[])
15 …Line 55) parameterizedType.getActualTypeArguments() ==> java.lang.reflect.ParameterizedType.getAct…
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionFactory.txt9 …Line 62) actualTypes.addAll(Arrays.asList(pt.getActualTypeArguments())) ==> java.util.List.addAll(…
10 Line 62) Arrays.asList(pt.getActualTypeArguments()) ==> java.util.Arrays.asList(T...)
11 …Line 62) pt.getActualTypeArguments() ==> java.lang.reflect.ParameterizedType.getActualTypeArgument…
/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/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DAstTypeAnalysis.java45 if (t.getActualTypeArguments()[0] instanceof WildcardType) { in AstTypeAnalysis()
50 type = t.getActualTypeArguments()[0]; in AstTypeAnalysis()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java106 TypeLiteral.get(Types.providerOf(parameterizedType.getActualTypeArguments()[0])); in canonicalizeForKey()
159 p.getOwnerType(), p.getRawType(), p.getActualTypeArguments()); in canonicalize()
233 && Arrays.equals(pa.getActualTypeArguments(), pb.getActualTypeArguments()); in equals()
327 return ((ParameterizedType) declaredBy).getActualTypeArguments()[index]; in resolveTypeVariable()
372 public Type[] getActualTypeArguments() { in getActualTypeArguments() method in MoreTypes.ParameterizedTypeImpl
/external/guice/extensions/mini/src/com/google/inject/mini/
DMiniGuice.java113 Type type = ((ParameterizedType) key.type).getActualTypeArguments()[0]; in requireKey()
389 public Type[] getActualTypeArguments() { in getActualTypeArguments() method in MiniGuice.ProviderType
402 return Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments()) in equals()
410 return Arrays.hashCode(getActualTypeArguments()) ^ rawType.hashCode(); in hashCode()
/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/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/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMaster.java21 Type actual = ((ParameterizedType) generic).getActualTypeArguments()[0]; in getGenericType()
DGenericTypeExtractor.java81 Type[] genericTypes = ((ParameterizedType) type).getActualTypeArguments(); in extractGeneric()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java42 … List<ResolvedType> typeParameters = Arrays.stream(parameterizedType.getActualTypeArguments()) in getSuperClass()
55 … List<ResolvedType> typeParameters = Arrays.stream(parameterizedType.getActualTypeArguments()) in getInterfaces()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java98 return canonicalize(parameterized.getActualTypeArguments()[0]); in getSuperclassTypeParameter()
189 Type[] args = original.getActualTypeArguments(); in resolveType()
/external/guice/core/test/com/google/inject/internal/
DMoreTypesTest.java59 .getActualTypeArguments()[0]; in testGetRawType_wildcard()
/external/junit/src/main/java/org/junit/runners/model/
DNoGenericTypeParametersValidator.java39 for (Type each : parameterized.getActualTypeArguments()) { in validateNoTypeParameterOnParameterizedType()
/external/desugar/java/com/google/devtools/common/options/
DGenericTypeHelper.java62 return ((ParameterizedType) type).getActualTypeArguments()[i]; in matchTypeVariable()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DParameter.java129 return ((ParameterizedType) type).getActualTypeArguments()[0]; in getProvidedType()

12