HomeSort by relevance Sort by last modified time
    Searched refs:typeParameter (Results 1 - 12 of 12) sorted by null

  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
GenericMethodsTests.java 56 TypeVariable<Method> typeParameter = getTypeParameter(method);
57 assertEquals("T", typeParameter.getName());
58 assertEquals(method, typeParameter.getGenericDeclaration());
67 TypeVariable<Method> typeParameter = getTypeParameter(method);
70 assertEquals(typeParameter, genericParameterType);
80 TypeVariable<Method> typeParameter = getTypeParameter(method);
82 assertEquals(typeParameter, genericReturnType);
BoundedGenericMethodsTests.java 51 TypeVariable<Method> typeParameter = getTypeParameter(method);
52 assertEquals("T", typeParameter.getName());
53 assertEquals(method, typeParameter.getGenericDeclaration());
55 Type[] bounds = typeParameter.getBounds();
69 TypeVariable<Method> typeParameter = getTypeParameter(method);
72 assertEquals(typeParameter, genericParameterType);
GenericReflectionTestsBase.java 36 TypeVariable<Method> typeParameter = typeParameters[0];
37 return typeParameter;
WildcardTypeTest.java 58 TypeVariable<Method> typeParameter = getTypeParameter(method);
59 assertEquals("T", typeParameter.getName());
60 assertEquals(method, typeParameter.getGenericDeclaration());
62 Type[] bounds = typeParameter.getBounds();
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldGenericReflectionCornerCases.java 46 TypeVariable<?> typeParameter = typeParameters[0];
75 assertEquals(typeParameter, firstWildcardArgumentUpperBoundsType);
76 assertEquals(typeParameter, secondWildcardArgumentUpperBoundsType);
89 TypeVariable<?> typeParameter = typeParameters[0];
117 assertEquals(typeParameter, firstWildcardArgumentUpperBoundsType);
118 assertEquals(typeParameter, secondWildcardArgumentLoweroundsType);
135 TypeVariable<?> typeParameter = typeParameters[0];
136 Type[] typeParameterBounds = typeParameter.getBounds();
146 assertEquals(typeParameter, type.getActualTypeArguments()[0]);
188 TypeVariable<?> typeParameter = typeParameters[0]
    [all...]
OldGenericTypesTest.java 173 TypeVariable<Class> typeParameter = getTypeParameter(GenericType.class);
174 assertEquals(superTypeParameter, typeParameter);
  /external/doclava/src/com/google/doclava/
InfoBuilder.java 895 if (!o.toString().equals("typeParameter") &&
900 ParseTree typeParameter = (ParseTree) o;
904 if ("typeArgument".equals(typeParameter.toString()) &&
905 !"?".equals(typeParameter.getChild(0).toString())) {
906 type = buildType((ParseTree) typeParameter.getChild(0));
    [all...]
  /cts/tools/signature-tools/src/signature/converter/doclet/
DocletToSigConverter.java 462 for (TypeVariable typeParameter : member.typeParameters()) {
463 String name = typeParameter.typeName();
475 for (Type u : typeParameter.bounds()) {
  /cts/tools/signature-tools/test/signature/converter/
ConvertClassTest.java 506 ITypeVariableDefinition typeParameter = c.getTypeParameters().get(0);
507 assertSame(((ITypeVariableReference)typeArgument).getTypeVariableDefinition(), typeParameter);
    [all...]