Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for getDeclaredMethods (0.21 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

        /**
         * Ensures that all list-merge methods are overridden
         */
        @Test
        void testOverriddenMergeMethods() {
            List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods())
                    .filter(m -> m.getName().startsWith("merge"))
                    .filter(m -> {
                        String baseName = m.getName().substring(5 /* merge */);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.fingerprint2011(), TQBFJOTLDP, "a714d70f1d569cd0")
              .build();
    
      public void testAllHashFunctionsHaveKnownHashes() throws Exception {
        for (Method method : Hashing.class.getDeclaredMethods()) {
          if (shouldHaveKnownHashes(method)) {
            HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class);
            assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. 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, UTF_8.newEncoder());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. 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(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 19:48:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

        }
    
        private MethodMetaData findMethod(String name, ClassMetaData targetClass) {
            List<MethodMetaData> candidates = new ArrayList<MethodMetaData>();
            for (MethodMetaData methodMetaData : targetClass.getDeclaredMethods()) {
                if (name.equals(methodMetaData.getOverrideSignature())) {
                    return methodMetaData;
                }
                if (name.equals(methodMetaData.getName())) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  6. android/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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = Lists.newArrayList();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = Lists.newArrayList();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            this.simpleName = classMetaData.getSimpleName();
            this.packageName = classMetaData.getPackageName();
            this.style = LinkMetaData.Style.Javadoc;
            for (MethodMetaData method : classMetaData.getDeclaredMethods()) {
                addMethod(method, style);
            }
            for (EnumConstantMetaData enumConstant : classMetaData.getEnumConstants()) {
                addEnumConstant(enumConstant, style);
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top