Home
last modified time | relevance | path

Searched refs:newArrayType (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java73 Types.newArrayType(Types.newArrayType(int.class))), in testNewParameterizedType()
152 GenericArrayType ourType1 = (GenericArrayType) Types.newArrayType( in testNewArrayType()
155 Type ourType2 = Types.newArrayType(List.class); in testNewArrayType()
168 Type ourType = Types.newArrayType(int[].class); in testNewArrayTypeOfArray()
177 Type ourType = Types.newArrayType(int.class); in testNewArrayType_primitive()
186 assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard)); in testNewArrayType_upperBoundedWildcard()
191 assertEquals(Types.supertypeOf(Number[].class), Types.newArrayType(wildcard)); in testNewArrayType_lowerBoundedWildcard()
196 Types.newArrayType(int[].class)); in testNewArrayType_serializable()
DTypeTokenResolutionTest.java281 assertEquals(Types.newArrayType(genericArray.t),
417 assertEquals(Types.newArrayType(int[].class),
DTypeTokenTest.java958 Types.newArrayType( in testGetComponentType_wildcardType()
/external/guava/guava/src/com/google/common/reflect/
DTypes.java70 static Type newArrayType(Type componentType) { in newArrayType() method in Types
76 return supertypeOf(newArrayType(lowerBounds[0])); in newArrayType()
80 return subtypeOf(newArrayType(upperBounds[0])); in newArrayType()
83 return JavaVersion.CURRENT.newArrayType(componentType); in newArrayType()
534 @Override GenericArrayType newArrayType(Type componentType) { in newArrayType() method
549 @Override Type newArrayType(Type componentType) { in newArrayType() method
561 @Override Type newArrayType(Type componentType) { in newArrayType() method
562 return JAVA7.newArrayType(componentType); in newArrayType()
593 abstract Type newArrayType(Type componentType); in newArrayType() method in Types.JavaVersion
DTypeResolver.java191 return Types.newArrayType(resolvedComponentType); in resolveGenericArrayType()
395 return Types.newArrayType(capture(arrayType.getGenericComponentType())); in capture()
DTypeToken.java954 Type arrayOfGenericType = Types.newArrayType(
1050 return Types.JavaVersion.JAVA7.newArrayType(componentType);