Home
last modified time | relevance | path

Searched refs:getBounds (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DGenericExceptionsTest.java59 assertEquals(Arrays.<Type>asList(Throwable.class), Arrays.asList(typeVariable.getBounds())); in testConstructorThrowingTypeVariable()
67 assertEquals(Arrays.<Type>asList(Throwable.class), Arrays.asList(typeVariable.getBounds())); in testMethodThrowingTypeVariable()
75 assertEquals(Arrays.<Type>asList(Exception.class), Arrays.asList(typeVariable.getBounds())); in testThrowingMethodTypeParameter()
84 assertEquals(Arrays.<Type>asList(Throwable.class), Arrays.asList(t.getBounds())); in testThrowingMethodThrowsEverything()
88 assertEquals(Arrays.<Type>asList(Exception.class), Arrays.asList(x.getBounds())); in testThrowingMethodThrowsEverything()
DOldGenericReflectionCornerCases.java134 Type[] typeParameterBounds = typeParameter.getBounds(); in testMultipleBoundedWildcardUnEquality()
186 Type[] typeParameterBounds = typeParameter.getBounds(); in testMultipleBoundedWildcard()
DClassLoaderReflectionTest.java183 assertEquals(Arrays.<Type>asList(bounds), Arrays.asList(actual.getBounds())); in assertTypeVariable()
DOldGenericTypesTest.java156 Type[] boundsS = typeVariableS.getBounds(); in testMultipleBoundedGenericTypes()
DReflectionTest.java179 Type[] bounds = t.getBounds(); in testTypeVariableWithMultipleBounds()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DTypeVariableTest.java40 Type[] bounds = typeVariable.getBounds(); in testSimpleTypeVariableOnClass()
58 Type[] bounds = typeVariable.getBounds(); in testSimpleTypeVariableOnMethod()
76 Type[] bounds = typeVariable.getBounds(); in testSimpleTypeVariableOnConstructor()
158 Type[] bounds = typeVariable.getBounds(); in testSingleBound()
170 Type[] bounds = typeVariable.getBounds(); in testMultipleBound()
DBoundedGenericMethodsTests.java55 Type[] bounds = typeParameter.getBounds(); in checkBoundedTypeParameter()
77 Type[] paramBounds = typeVariable.getBounds(); in parameterType()
92 Type[] bounds = returnTypeVariable.getBounds(); in checkReturnType()
DWildcardTypeTest.java62 Type[] bounds = typeParameter.getBounds(); in checkBoundedTypeParameter()
121 Type[] bounds = returnTypeVariable.getBounds(); in checkReturnType()
DFieldTest.java1587 boundedTypeVar.getBounds().length); in test_getGenericType()
1589 boundedTypeVar.getBounds()[0]); in test_getGenericType()
/libcore/ojluni/src/main/java/java/lang/reflect/
DTypeVariable.java73 Type[] getBounds(); in getBounds() method
/libcore/luni/src/main/java/libcore/reflect/
DTypeVariableImpl.java119 public Type[] getBounds() { in getBounds() method in TypeVariableImpl
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java535 assertEquals(Object.class, tv[0].getBounds()[0]); in test_getTypeParameters()
540 assertEquals(String.class, tv[0].getBounds()[0]); in test_getTypeParameters()