Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getDeclaredMethods (0.13 sec)

  1. src/test/java/jcifs/SmbSessionTest.java

                assertEquals(4, methods.length, "SmbSession should define exactly 4 methods");
            }
    
            @Test
            @DisplayName("Should have all required method names")
            void shouldHaveAllRequiredMethodNames() {
                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
                java.util.Set<String> methodNames =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

         * not safe.
         */
        concat(
                stream(AbstractFuture.class.getDeclaredMethods()),
                stream(requireNonNull(AbstractFuture.class.getSuperclass()).getDeclaredMethods()))
            .filter(
                m ->
                    m.getName().equals("getDoneValue")
                        || m.getName().equals("casValue")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

         * not safe.
         */
        concat(
                stream(AbstractFuture.class.getDeclaredMethods()),
                stream(requireNonNull(AbstractFuture.class.getSuperclass()).getDeclaredMethods()))
            .filter(
                m ->
                    m.getName().equals("getDoneValue")
                        || m.getName().equals("casValue")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        public Set<PropertyMetaData> getDeclaredProperties() {
            return new HashSet<PropertyMetaData>(declaredProperties.values());
        }
    
        public Set<MethodMetaData> getDeclaredMethods() {
            return declaredMethods;
        }
    
        public Set<String> getDeclaredMethodNames() {
            Set<String> names = new HashSet<String>();
            for (MethodMetaData declaredMethod : declaredMethods) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private static final ImmutableMap<Class<?>, Method> GENERATORS;
    
      static {
        ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       */
      public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) {
        ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
        for (Method method : cls.getDeclaredMethods()) {
          Invokable<?, ?> invokable = Invokable.from(method);
          invokable.setAccessible(true);
          if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) {
            builder.add(invokable);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        Map<MethodIdentifier, Method> identifiers = new HashMap<>();
        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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private static final ImmutableMap<Class<?>, Method> GENERATORS;
    
      static {
        ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
Back to top