- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for getDeclaredMethods (0.26 sec)
-
guava-tests/test/com/google/common/reflect/ParameterTest.java
* This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError. */ return; } for (Method method : ParameterTest.class.getDeclaredMethods()) { for (Parameter param : Invokable.from(method).getParameters()) { new NullPointerTester().testAllPublicInstanceMethods(param);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Apr 06 02:06:03 GMT 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ParameterTest.java
* This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError. */ return; } for (Method method : ParameterTest.class.getDeclaredMethods()) { for (Parameter param : Invokable.from(method).getParameters()) { new NullPointerTester().testAllPublicInstanceMethods(param);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 06 02:06:03 GMT 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/PackageSanityTests.java
public PackageSanityTests() { setDefault(BaseEncoding.class, BaseEncoding.base64()); setDefault(int.class, 32); setDefault(String.class, "abcd"); setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]); setDefault(MapMode.class, MapMode.READ_ONLY); setDefault(CharsetEncoder.class, Charsets.UTF_8.newEncoder()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
+ " version we released in a separate artifact com.google.guava:listenablefuture.") .that(ListenableFuture.class.getDeclaredMethods()) .asList() .containsExactly( ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class)); assertWithMessage(
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 15 19:48:16 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
+ " version we released in a separate artifact com.google.guava:listenablefuture.") .that(ListenableFuture.class.getDeclaredMethods()) .asList() .containsExactly( ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class)); assertWithMessage(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 15 19:48:16 GMT 2023 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/PackageSanityTests.java
public PackageSanityTests() { setDefault(BaseEncoding.class, BaseEncoding.base64()); setDefault(int.class, 32); setDefault(String.class, "abcd"); setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]); setDefault(MapMode.class, MapMode.READ_ONLY); setDefault(CharsetEncoder.class, Charsets.UTF_8.newEncoder()); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
// corresponding method on FuturesTest in the correct classloader. TestSuite suite = new TestSuite(AggregateFutureStateFallbackAtomicHelperTest.class.getName()); for (Method method : FuturesTest.class.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) { suite.addTest( TestSuite.createTest(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
// The following legacy hashing function methods have been covered by unit testing already. List<String> legacyHashingMethodNames = ImmutableList.of("murmur2_64", "fprint96"); for (Method method : Hashing.class.getDeclaredMethods()) { if (method.getReturnType().equals(HashFunction.class) // must return HashFunction && Modifier.isPublic(method.getModifiers()) // only the public methods
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
// The following legacy hashing function methods have been covered by unit testing already. List<String> legacyHashingMethodNames = ImmutableList.of("murmur2_64", "fprint96"); for (Method method : Hashing.class.getDeclaredMethods()) { if (method.getReturnType().equals(HashFunction.class) // must return HashFunction && Modifier.isPublic(method.getModifiers()) // only the public methods
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
Optional<Class<?>> supersWithPackagePrivateWriteReplace = FluentIterable.from(TypeToken.of(clazz).getTypes()) .transform(TypeToken::getRawType) .transformAndConcat(c -> asList(c.getDeclaredMethods())) .firstMatch( m -> m.getName().equals("writeReplace") && m.getParameterTypes().length == 0
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.9K bytes - Viewed (0)