Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for isSynthetic (0.06 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        for (Method method : cls.getDeclaredMethods()) {
          Invokable<?, ?> invokable = Invokable.from(method);
          invokable.setAccessible(true);
          if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) {
            builder.add(invokable);
          }
        }
        return new FactoryMethodReturnValueTester(cls, builder.build(), "public static methods");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        /**
         * Prepares {@link PropertyDesc}.
         */
        protected void setupPropertyDescs() {
            for (final Method m : beanClass.getMethods()) {
                if (m.isBridge() || m.isSynthetic()) {
                    continue;
                }
                final String methodName = m.getName();
                if (methodName.startsWith("get")) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        for (Method method : cls.getDeclaredMethods()) {
          Invokable<?, ?> invokable = Invokable.from(method);
          invokable.setAccessible(true);
          if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) {
            builder.add(invokable);
          }
        }
        return new FactoryMethodReturnValueTester(cls, builder.build(), "public static methods");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            // 2. All methods should be static
            java.lang.reflect.Method[] methods = SystemUtil.class.getDeclaredMethods();
            for (java.lang.reflect.Method method : methods) {
                if (!method.isSynthetic()) { // Ignore compiler-generated methods
                    assertTrue("Method " + method.getName() + " should be static", java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
            for (Method method : type.getDeclaredMethods()) {
              if (!method.isSynthetic() && isVisible(method)) {
                builder.add(method);
              }
            }
          }
          return builder.build();
        }
      }
    
      private static final class Signature {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/eventbus/SubscriberRegistry.java

        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
              Class<?>[] parameterTypes = method.getParameterTypes();
              checkArgument(
                  parameterTypes.length == 1,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            Method[] methods = WebApiUtil.class.getDeclaredMethods();
            for (Method method : methods) {
                if (java.lang.reflect.Modifier.isPublic(method.getModifiers()) && !method.isSynthetic()) {
                    assertTrue("Public method " + method.getName() + " should be static",
                            java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            java.lang.reflect.Method[] methods = ThreadDumpUtil.class.getDeclaredMethods();
            for (java.lang.reflect.Method method : methods) {
                if (java.lang.reflect.Modifier.isPublic(method.getModifiers()) && !method.isSynthetic()) {
                    assertTrue("Public method " + method.getName() + " should be static",
                            java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                    break;
                }
            }
        }
    
        private void setupValueOfMethod() {
            for (final Method method : propertyType.getMethods()) {
                if (method.isBridge() || method.isSynthetic()) {
                    continue;
                }
                if (ModifierUtil.isStatic(method.getModifiers()) && method.getName().equals("valueOf") && method.getParameterTypes().length == 1
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            Method[] methods = KuromojiCSVUtil.class.getDeclaredMethods();
            for (Method method : methods) {
                if (java.lang.reflect.Modifier.isPublic(method.getModifiers()) && !method.isSynthetic()) {
                    assertTrue("Public method " + method.getName() + " should be static",
                            java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top