- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getTypeParameters (0.09 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0)