- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isAbstract (0.24 sec)
-
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) -
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) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertFalse(invokable.isAbstract()); assertFalse(invokable.isStatic()); assertTrue(invokable.isAnnotationPresent(Tested.class)); } public void testAbstractMethod() throws Exception { Invokable<?, Object> invokable = A.method("abstractMethod"); assertTrue(invokable.isPackagePrivate()); assertTrue(invokable.isAbstract()); assertFalse(invokable.isFinal());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
assertFalse(invokable.isAbstract()); assertFalse(invokable.isStatic()); assertTrue(invokable.isAnnotationPresent(Tested.class)); } public void testAbstractMethod() throws Exception { Invokable<?, Object> invokable = A.method("abstractMethod"); assertTrue(invokable.isPackagePrivate()); assertTrue(invokable.isAbstract()); assertFalse(invokable.isFinal());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
guava/src/com/google/common/reflect/Invokable.java
*/ public final boolean isFinal() { return Modifier.isFinal(getModifiers()); } /** Returns true if the method is abstract. */ public final boolean isAbstract() { return Modifier.isAbstract(getModifiers()); } /** Returns true if the element is native. */ public final boolean isNative() { return Modifier.isNative(getModifiers()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* * @param method * メソッド。{@literal null}であってはいけません * @return <code>abstract</code>かどうか */ public static boolean isAbstract(final Method method) { return Modifier.isAbstract(method.getModifiers()); } /** * <code>public</code>かどうかを返します。 * * @param method * メソッド。{@literal null}であってはいけません
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.8K bytes - Viewed (0)