Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isAbstract (0.08 sec)

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

         *
         * @param clazz
         *            クラス。{@literal null}であってはいけません
         * @return <code>abstract</code>なら{@literal true}
         */
        public static boolean isAbstract(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            return isAbstract(clazz.getModifiers());
        }
    
        /**
         * <code>abstract</code>かどうか返します。
         *
         * @param modifier
         *            モディファイヤ
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (Method method : methods) {
          // Interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for Android compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (Method method : methods) {
          // Interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for Android compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/MethodDesc.java

         */
        boolean isFinal();
    
        /**
         * {@literal abstract}メソッドの場合は{@literal true}を返します。
         *
         * @return {@literal abstract}メソッドの場合は{@literal true}
         */
        boolean isAbstract();
    
        /**
         * メソッドの引数型がパラメタ化された型の場合は{@literal true}を返します。
         *
         * @param index
         *            引数のインデックス
         * @return 引数型がパラメタ化された型の場合は{@literal true}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top