Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for isFinal (0.06 seconds)

  1. android/guava/src/com/google/common/reflect/Invokable.java

       *
       * <p>Note that a method may still be effectively "final", or non-overridable when it has no
       * {@code final} keyword. For example, it could be private, or it could be declared by a final
       * class. To tell whether a method is overridable, use {@link Invokable#isOverridable}.
       */
      public final boolean isFinal() {
        return Modifier.isFinal(getModifiers());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/MediaTypeTest.java

    import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
    import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.reflect.Modifier.isFinal;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.nio.charset.StandardCharsets.UTF_16;
    import static java.nio.charset.StandardCharsets.UTF_8;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            assertNotNull(serialVersionField);
            assertTrue(Modifier.isStatic(serialVersionField.getModifiers()));
            assertTrue(Modifier.isFinal(serialVersionField.getModifiers()));
            assertTrue(Modifier.isPrivate(serialVersionField.getModifiers()));
            serialVersionField.setAccessible(true);
            assertEquals(1L, serialVersionField.getLong(null));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            for (Field field : fields) {
                int modifiers = field.getModifiers();
                if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {
                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
                        assertNotNull(value, "Field " + field.getName() + " should not be null");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(invokable.isFinal());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testOverridableMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("overridableMethod");
        assertTrue(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isFinal());
    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)
  6. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            assertTrue("ACCESS_CONTROL_ALLOW_ORIGIN should be final", Modifier.isFinal(originField.getModifiers()));
    
            Field headersField = CorsHandler.class.getDeclaredField("ACCESS_CONTROL_ALLOW_HEADERS");
            assertTrue("ACCESS_CONTROL_ALLOW_HEADERS should be final", Modifier.isFinal(headersField.getModifiers()));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertFalse("Class should not be abstract", java.lang.reflect.Modifier.isAbstract(HotThreadMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be final", java.lang.reflect.Modifier.isFinal(HotThreadMonitorTarget.class.getModifiers()));
        }
    
        @Test
        public void test_default_constructor_is_public() throws Exception {
            assertTrue("Default constructor should be public",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            assertFalse("Class should not be abstract", java.lang.reflect.Modifier.isAbstract(SystemMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be final", java.lang.reflect.Modifier.isFinal(SystemMonitorTarget.class.getModifiers()));
        }
    
        @Test
        public void test_default_constructor_is_public() throws Exception {
            assertTrue("Default constructor should be public",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            }
        }
    
        @Test
        public void test_class_isFinal() {
            // Verify that WebApiUtil is a final class
            assertTrue("WebApiUtil should be final class", java.lang.reflect.Modifier.isFinal(WebApiUtil.class.getModifiers()));
        }
    
        @Test
        public void test_static_method_signatures() {
            // Verify all public static methods exist with correct signatures
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            }
        }
    
        @Test
        public void test_class_isFinal() {
            // Verify that KuromojiCSVUtil is a final class
            assertTrue("KuromojiCSVUtil should be final class", java.lang.reflect.Modifier.isFinal(KuromojiCSVUtil.class.getModifiers()));
        }
    
        @Test
        public void test_static_method_signatures() {
            // Verify all public static methods exist with correct signatures
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top