Searched refs:wildcardType (Results 1 – 3 of 3) sorted by relevance
405 WildcardType wildcardType = (WildcardType) type; in capture() local406 Type[] lowerBounds = wildcardType.getLowerBounds(); in capture()408 Type[] upperBounds = wildcardType.getUpperBounds(); in capture()412 WildcardCapturer.class, name, wildcardType.getUpperBounds()); in capture()
156 TypeToken<?> wildcardType = TypeToken.of(withWildcardType.getActualTypeArguments()[0]); in testResolveType_fromWildcard() local158 wildcardType.resolveType(Iterable.class.getTypeParameters()[0]).getType()); in testResolveType_fromWildcard()601 Type wildcardType = Types.subtypeOf(Object[].class); in testAssignableWildcardBoundedByArrayToArrayClass() local602 assertTrue(TypeToken.of(Object[].class).isAssignableFrom(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()603 assertTrue(TypeToken.of(Object.class).isAssignableFrom(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()604 assertTrue(TypeToken.of(wildcardType).isAssignableFrom(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()605 assertFalse(TypeToken.of(int[].class).isAssignableFrom(wildcardType)); in testAssignableWildcardBoundedByArrayToArrayClass()621 Type wildcardType = Types.subtypeOf(int[].class); in testAssignableWildcardBoundedByIntArrayToArrayClass() local622 assertTrue(TypeToken.of(int[].class).isAssignableFrom(wildcardType)); in testAssignableWildcardBoundedByIntArrayToArrayClass()623 assertTrue(TypeToken.of(Object.class).isAssignableFrom(wildcardType)); in testAssignableWildcardBoundedByIntArrayToArrayClass()[all …]
473 WildcardType wildcardType = (WildcardType)476 assertEquals(String.class, wildcardType.getLowerBounds()[0]);480 WildcardType wildcardType = (WildcardType)483 assertEquals(String.class, wildcardType.getUpperBounds()[0]);