HomeSort by relevance Sort by last modified time
    Searched defs:genericReturnType (Results 1 - 22 of 22) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
BoundedGenericMethodsTests.java 85 Type genericReturnType = method.getGenericReturnType();
86 assertEquals(getTypeParameter(method), genericReturnType);
87 assertTrue(genericReturnType instanceof TypeVariable);
89 TypeVariable<Method> returnTypeVariable = (TypeVariable<Method>) genericReturnType;
GenericMethodsTests.java 81 Type genericReturnType = method.getGenericReturnType();
82 assertEquals(typeParameter, genericReturnType);
83 assertInstanceOf(TypeVariable.class, genericReturnType);
84 assertEquals(method, ((TypeVariable<?>) genericReturnType).getGenericDeclaration());
WildcardTypeTest.java 110 Type genericReturnType = method.getGenericReturnType();
111 assertEquals(getTypeParameter(method), genericReturnType);
112 assertTrue(genericReturnType instanceof TypeVariable);
114 TypeVariable<Method> returnTypeVariable = (TypeVariable<Method>) genericReturnType;
  /external/mockito/src/org/mockito/internal/util/reflection/
GenericMetadataSupport.java 189 Type genericReturnType = method.getGenericReturnType();
190 // logger.log("Method '" + method.toGenericString() + "' has return type : " + genericReturnType.getClass().getInterfaces()[0].getSimpleName() + " : " + genericReturnType);
192 if (genericReturnType instanceof Class) {
193 return new NotGenericReturnTypeSupport(genericReturnType);
195 if (genericReturnType instanceof ParameterizedType) {
198 if (genericReturnType instanceof TypeVariable) {
199 return new TypeVariableReturnType(this, method.getTypeParameters(), (TypeVariable) genericReturnType);
202 throw new MockitoException("Ouch, it shouldn't happen, type '" + genericReturnType.getClass().getCanonicalName() + "' on method : '" + method.toGenericString() + "' is not supported : " + genericReturnType);
    [all...]
  /libcore/libart/src/main/java/java/lang/reflect/
AbstractMethod.java 238 final Type genericReturnType;
245 genericReturnType = ret;
353 Types.appendGenericType(sb, Types.getType(info.genericReturnType));
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.5/
mockito-core-2.2.5.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.10/
gradle-tooling-api-1.10.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.11/
gradle-tooling-api-1.11.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.12/
gradle-tooling-api-1.12.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.6/
gradle-tooling-api-1.6.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.6-rc-1/
gradle-tooling-api-1.6-rc-1.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.7/
gradle-tooling-api-1.7.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/1.9/
gradle-tooling-api-1.9.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.0/
gradle-tooling-api-2.0.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.1/
gradle-tooling-api-2.1.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.2/
gradle-tooling-api-2.2.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.10/
gradle-tooling-api-2.10.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.14/
gradle-tooling-api-2.14.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.14.1/
gradle-tooling-api-2.14.1.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.4-20150121230028+0000/
gradle-tooling-api-2.4-20150121230028+0000.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/2.8/
gradle-tooling-api-2.8.jar 
  /prebuilts/tools/common/m2/repository/org/gradle/gradle-tooling-api/3.1/
gradle-tooling-api-3.1.jar 

Completed in 108 milliseconds