- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testMethod_notDeclaredByType (0.61 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( new TypeToken<List<String>>() {}, new TypeToken<List<String>>() {}.method(sizeMethod).getOwnerType()); } public void testMethod_notDeclaredByType() throws NoSuchMethodException { Method sizeMethod = Map.class.getMethod("size"); assertThrows(IllegalArgumentException.class, () -> TypeToken.of(List.class).method(sizeMethod)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 89K bytes - Click Count (0)