- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getOnlyParameterType (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0)