- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getTypeParameters (0.07 sec)
-
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; TypeVariable<?> expected = TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") .getTypeParameters()[0]; assertEquals(expected, variable); } public void testConcreteTypeRejected() { assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java
TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; TypeVariable<?> expected = TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") .getTypeParameters()[0]; assertEquals(expected, variable); } public void testConcreteTypeRejected() { assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
} } public void test_classStructure() { // Verify the class is generic final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters(); assertEquals("Should have one type parameter", 1, typeParameters.length); assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
final TypeSignature typeSignature; MethodSignature(Method method) { name = method.getName(); parameterTypes = asList(method.getParameterTypes()); typeSignature = new TypeSignature(method.getTypeParameters()); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof MethodSignature) { MethodSignature other = (MethodSignature) obj;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0)