- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for isFinal (0.13 sec)
-
src/main/java/org/codelibs/core/lang/ModifierUtil.java
*/ public static boolean isFinal(final int modifier) { return Modifier.isFinal(modifier); } /** * <code>final</code>かどうか返します。 * * @param method * メソッド * @return <code>final</code>なら{@literal true} */ public static boolean isFinal(final Method method) { return isFinal(method.getModifiers()); } /**
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 */
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.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());
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.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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
def oldNullability = hasNullableAnnotation(oldField) def newNullability = hasNullableAnnotation(newField) if (Modifier.isFinal(oldField.modifiers) && Modifier.isFinal(newField.modifiers)) { if (!oldNullability && newNullability) { errors << "From non-nullable to nullable breaking change"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 13 10:04:28 UTC 2024 - 5.4K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.4K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5K bytes - Viewed (0) -
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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
@Override public void visit(FieldDeclaration fieldDeclaration, ClassMetaDataRepository<ClassMetaData> arg) { boolean isConst = getCurrentClass().isInterface() || (fieldDeclaration.isStatic() && fieldDeclaration.isFinal()); if (isConst) { fieldDeclaration.getVariables().forEach(variableDeclarator -> { String constName = variableDeclarator.getNameAsString();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* * @param method * メソッド。{@literal null}であってはいけません * @return <code>final </code>かどうか */ public static boolean isFinal(final Method method) { assertArgumentNotNull("method", method); return Modifier.isFinal(method.getModifiers()); } /** * シグニチャの文字列表現を返します。 * * @param methodName * メソッド名。{@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)