Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for IsPrivate (0.06 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /** Returns true if the element is package-private. */
      public final boolean isPackagePrivate() {
        return !isPrivate() && !isPublic() && !isProtected();
      }
    
      /** Returns true if the element is private. */
      public final boolean isPrivate() {
        return Modifier.isPrivate(getModifiers());
      }
    
      /** Returns true if the element is static. */
      public final boolean isStatic() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            try {
                Constructor<SystemUtil> constructor = SystemUtil.class.getDeclaredConstructor();
                assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers()));
    
                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
                SystemUtil instance = constructor.newInstance();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                Constructor<WebApiUtil> constructor = WebApiUtil.class.getDeclaredConstructor();
                assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers()));
    
                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
                WebApiUtil instance = constructor.newInstance();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            try {
                Constructor<KuromojiCSVUtil> constructor = KuromojiCSVUtil.class.getDeclaredConstructor();
                assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers()));
    
                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
                KuromojiCSVUtil instance = constructor.newInstance();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            assertNotNull(serialVersionField);
            assertTrue(Modifier.isStatic(serialVersionField.getModifiers()));
            assertTrue(Modifier.isFinal(serialVersionField.getModifiers()));
            assertTrue(Modifier.isPrivate(serialVersionField.getModifiers()));
            serialVersionField.setAccessible(true);
            assertEquals(1L, serialVersionField.getLong(null));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Invokable<?, ? extends T>> factories = new ArrayList<>();
        for (Method method : type.getRawType().getDeclaredMethods()) {
          Invokable<?, ?> invokable = type.method(method);
          if (!invokable.isPrivate()
              && !invokable.isSynthetic()
              && invokable.isStatic()
              && type.isSupertypeOf(invokable.getReturnType())) {
            @SuppressWarnings("unchecked") // guarded by isAssignableFrom()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

              if (response.header("Expires") == null &&
                response.cacheControl.maxAgeSeconds == -1 &&
                !response.cacheControl.isPublic &&
                !response.cacheControl.isPrivate
              ) {
                return false
              }
            }
    
            else -> {
              // All other codes cannot be cached.
              return false
            }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

        void testPrivateConstructor() throws Exception {
            // Verify constructor is private
            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
            assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
    
            // Force accessibility and create instance to achieve coverage
            constructor.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Invokable<?, ? extends T>> factories = new ArrayList<>();
        for (Method method : type.getRawType().getDeclaredMethods()) {
          Invokable<?, ?> invokable = type.method(method);
          if (!invokable.isPrivate()
              && !invokable.isSynthetic()
              && invokable.isStatic()
              && type.isSupertypeOf(invokable.getReturnType())) {
            @SuppressWarnings("unchecked") // guarded by isAssignableFrom()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
      @get:JvmName("mustRevalidate") val mustRevalidate: Boolean,
      @get:JvmName("maxStaleSeconds") val maxStaleSeconds: Int,
      @get:JvmName("minFreshSeconds") val minFreshSeconds: Int,
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top