Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 194 for setMethod (0.06 seconds)

  1. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        }
      }
    
      /** Looks up Finalizer.startFinalizer(). */
      static Method getStartFinalizer(Class<?> finalizer) {
        try {
          return finalizer.getMethod(
              "startFinalizer", Class.class, ReferenceQueue.class, PhantomReference.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertThat(keyType.getType().toString()).isEqualTo("java.util.List<K1>");
      }
    
      private static Type genericReturnType(Class<?> cls, String methodName) {
        try {
          return cls.getMethod(methodName).getGenericReturnType();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    
      public void testTwoStageResolution() {
        class ForTwoStageResolution<A extends Number> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertThat(keyType.getType().toString()).isEqualTo("java.util.List<K1>");
      }
    
      private static Type genericReturnType(Class<?> cls, String methodName) {
        try {
          return cls.getMethod(methodName).getGenericReturnType();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    
      public void testTwoStageResolution() {
        class ForTwoStageResolution<A extends Number> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      public void testGetOwnerType_method() throws Exception {
        Invokable<?, ?> invokable = Invokable.from(String.class.getMethod("length"));
        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
    
                @Override
                public int getIntHeader(String name) {
                    return 0;
                }
    
                @Override
                public String getMethod() {
                    return null;
                }
    
                @Override
                public String getPathInfo() {
                    return null;
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of("a", 1));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            }
    
            @Override
            public int getIntHeader(String name) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getMethod() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getPathInfo() {
                throw new UnsupportedOperationException();
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

        /**
         * Test that updateMemberOf still exists and is public.
         */
        @Test
        public void test_updateMemberOf_methodExists() throws Exception {
            Method method = EntraIdAuthenticator.class.getMethod("updateMemberOf", EntraIdUser.class);
            assertNotNull(method, "updateMemberOf method should exist");
            assertTrue("updateMemberOf should be public", java.lang.reflect.Modifier.isPublic(method.getModifiers()));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        }
      }
    
      /** Looks up Finalizer.startFinalizer(). */
      static Method getStartFinalizer(Class<?> finalizer) {
        try {
          return finalizer.getMethod(
              "startFinalizer", Class.class, ReferenceQueue.class, PhantomReference.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public int getIntHeader(String name) {
                return -1;
            }
    
            @Override
            public String getMethod() {
                return "GET";
            }
    
            @Override
            public String getPathInfo() {
                return null;
            }
    
            @Override
            public String getPathTranslated() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top