Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getDeclaredMethods (0.13 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. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
        return methods;
      }
    
      private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) {
        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
          if (isPublic(modifiers) && isStatic(modifiers)) {
            publicStaticMethods.add(new MethodSignature(method));
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
        return methods;
      }
    
      private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) {
        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
          if (isPublic(modifiers) && isStatic(modifiers)) {
            publicStaticMethods.add(new MethodSignature(method));
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        Map<MethodIdentifier, Method> identifiers = Maps.newHashMap();
        for (Class<?> supertype : supertypes) {
          for (Method method : supertype.getDeclaredMethods()) {
            if (method.isAnnotationPresent(Subscribe.class) && !method.isSynthetic()) {
              // TODO(cgdecker): Should check for a generic parameter type and error out
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
        static void verifyConsistentRawType() {
          for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) {
            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
        static void verifyConsistentRawType() {
          for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) {
            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top