Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isFinal (0.04 sec)

  1. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         */
        public static boolean isFinal(final int modifier) {
            return Modifier.isFinal(modifier);
        }
    
        /**
         * Checks if the specified method is final.
         *
         * @param method
         *            the method to check
         * @return true if final, false otherwise
         */
        public static boolean isFinal(final Method method) {
            return isFinal(method.getModifiers());
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.getParameterTypes().length, is(0));
            assertThat(foo.isPublic(), is(true));
            assertThat(foo.isStatic(), is(not(true)));
            assertThat(foo.isFinal(), is(not(true)));
            assertThat(foo.isAbstract(), is(not(true)));
            assertThat(foo.invoke(new MyBean()), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

        }
    
        @Override
        public boolean isStatic() {
            return MethodUtil.isStatic(method);
        }
    
        @Override
        public boolean isFinal() {
            return MethodUtil.isFinal(method);
        }
    
        @Override
        public boolean isAbstract() {
            return MethodUtil.isAbstract(method);
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static");
                assertTrue(Modifier.isFinal(modifiers), "Field " + field.getName() + " should be final");
            }
        }
    
        @Test
        @DisplayName("Test constant values are unique")
        void testConstantValuesAreUnique() throws IllegalAccessException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getFieldType(), is(sameClass(String.class)));
            assertThat(hoge.isPublic(), is(true));
            assertThat(hoge.isStatic(), is(true));
            assertThat(hoge.isFinal(), is(true));
            assertThat(hoge.isParameterized(), is(not(true)));
            final ParameterizedClassDesc parameterizedClassDesc = hoge.getParameterizedClassDesc();
            assertThat(parameterizedClassDesc, is(notNullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

                int m = f.getModifiers();
    
                assertTrue(Modifier.isPublic(m), e.getKey() + " must be public");
                assertTrue(Modifier.isStatic(m), e.getKey() + " must be static");
                assertTrue(Modifier.isFinal(m), e.getKey() + " must be final");
                assertEquals(String.class, f.getType(), e.getKey() + " must be String");
                assertEquals(e.getValue(), f.get(null), e.getKey() + " value mismatch");
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertTrue(Modifier.isPublic(field.getModifiers()));
                assertTrue(Modifier.isStatic(field.getModifiers()));
                assertTrue(Modifier.isFinal(field.getModifiers()));
                assertEquals(int.class, field.getType());
            }
        }
    
        @Nested
        @DisplayName("Deprecation Tests")
        class DeprecationTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. 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()));
        }
    
        public void test_default_constructor_is_public() throws Exception {
            assertTrue("Default constructor should be public",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. 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()));
        }
    
        public void test_default_constructor_is_public() throws Exception {
            assertTrue("Default constructor should be public",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/FieldDesc.java

         */
        boolean isStatic();
    
        /**
         * Returns {@literal true} if the field is {@literal final}.
         *
         * @return {@literal true} if the field is {@literal final}
         */
        boolean isFinal();
    
        /**
         * Returns {@literal true} if the field is parameterized.
         *
         * @return {@literal true} if the field is parameterized
         */
        boolean isParameterized();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top