Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isFinal (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/net/MediaTypeTest.java

    import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
    import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.reflect.Modifier.isFinal;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.nio.charset.StandardCharsets.UTF_16;
    import static java.nio.charset.StandardCharsets.UTF_8;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    return matchOutput;
                }
    
                pendingOutput = fst.outputs.add(pendingOutput, scratchArc.output());
    
                if (scratchArc.isFinal()) {
                    matchOutput = fst.outputs.add(pendingOutput, scratchArc.nextFinalOutput());
                    longestMatchEndOffset = start + index + Character.charCount(codePoint);
                }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @return ファイナルフィールドなら{@literal true}
         */
        public static boolean isFinalField(final Field field) {
            assertArgumentNotNull("field", field);
    
            return Modifier.isFinal(field.getModifiers());
        }
    
        /**
         * パラメタ化されたコレクション型のフィールドの要素型を返します。
         *
         * @param field
         *            パラメタ化されたコレクション型のフィールド。{@literal null}であってはいけません
         * @return コレクションの要素型
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        Arrays.sort(fields, BY_FIELD_NAME);
        for (Field field : fields) {
          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
              try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        Arrays.sort(fields, BY_FIELD_NAME);
        for (Field field : fields) {
          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
              try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top