Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isAbstract (0.14 sec)

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

         * @param clazz
         *            the class to check. Must not be null.
         * @return true if abstract, false otherwise
         */
        public static boolean isAbstract(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            return isAbstract(clazz.getModifiers());
        }
    
        /**
         * Checks if the specified modifier is abstract.
         *
         * @param modifier
    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
         */
        @Test(expected = MethodNotStaticRuntimeException.class)
    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/test/java/org/codelibs/core/lang/ModifierUtilTest.java

            assertFalse(ModifierUtil.isTransient(f));
        }
    
        /**
         * @throws Exception
         */
        public void testIsAbstract() throws Exception {
            assertTrue(ModifierUtil.isAbstract(Map.class));
            assertFalse(ModifierUtil.isAbstract(HashMap.class));
        }
    
        /**
         *
         */
        public static class Hoge {
    
            /**
             *
             */
            public static final String s = null;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

        }
    
        @Override
        public boolean isFinal() {
            return MethodUtil.isFinal(method);
        }
    
        @Override
        public boolean isAbstract() {
            return MethodUtil.isAbstract(method);
        }
    
        @Override
        public boolean isParameterized(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

            String appWebPkg = ".app.web.";
            String actionSuffix = "Action";
    
            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
                if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction
                    return;
                }
                final String className = clazz.getName();
                if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/https/HandlerTest.java

                // When
                int modifiers = Handler.class.getModifiers();
    
                // Then
                assertTrue(Modifier.isPublic(modifiers));
                assertFalse(Modifier.isAbstract(modifiers));
                assertFalse(Modifier.isInterface(modifiers));
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getModifiers()));
            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()));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @return <code>abstract</code> if the method is abstract
         */
        public static boolean isAbstract(final Method method) {
            return Modifier.isAbstract(method.getModifiers());
        }
    
        /**
         * Returns whether the method is <code>public</code>.
         *
         * @param method
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getModifiers()));
            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()));
        }
    
    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/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            assertFalse("FessWebResourceRoot should not be abstract",
                    java.lang.reflect.Modifier.isAbstract(FessWebResourceRoot.class.getModifiers()));
        }
    
        public void test_constructorSignature() {
            // Verify constructor parameter types
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top