Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for isPublic (0.05 seconds)

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

      public final boolean isPublic() {
        return Modifier.isPublic(getModifiers());
      }
    
      /** Returns true if the element is protected. */
      public final boolean isProtected() {
        return Modifier.isProtected(getModifiers());
      }
    
      /** Returns true if the element is package-private. */
      public final boolean isPackagePrivate() {
        return !isPrivate() && !isPublic() && !isProtected();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/MediaTypeTest.java

    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;
    import static java.util.Arrays.asList;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue("Default constructor should be public",
                    java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getConstructor().getModifiers()));
        }
    
        @Test
        public void test_expired_method_is_public() throws Exception {
            assertTrue("expired method should be public",
                    java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getMethod("expired").getModifiers()));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            Field[] fields = FessHtmlPath.class.getDeclaredFields();
            for (Field field : fields) {
                int modifiers = field.getModifiers();
                if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {
                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getConstructor().getModifiers()));
        }
    
        @Test
        public void test_expired_method_is_public() throws Exception {
            assertTrue("expired method should be public",
                    java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getMethod("expired").getModifiers()));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                assertTrue("printThreadDump should be static", java.lang.reflect.Modifier.isStatic(printMethod.getModifiers()));
                assertTrue("printThreadDump should be public", java.lang.reflect.Modifier.isPublic(printMethod.getModifiers()));
                assertEquals("printThreadDump should return void", void.class, printMethod.getReturnType());
    
                // printThreadDumpAsWarn()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

        return type.isArray() ? typeName(type.getComponentType()) + "[]" : type.getName();
      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

        }
    
        @Test
        public void test_isPublicClass() {
            assertTrue("FessActionValidator should be public", java.lang.reflect.Modifier.isPublic(FessActionValidator.class.getModifiers()));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

            ImmutableSet.of("murmur2_64", "fprint96", "highwayFingerprint64", "highwayFingerprint128");
        return method.getReturnType().equals(HashFunction.class) // must return HashFunction
            && Modifier.isPublic(method.getModifiers()) // only the public methods
            && method.getParameterTypes().length == 0 // only the seedless hash functions
            && !legacyHashingMethodNames.contains(method.getName());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  10. okhttp/api/jvm/okhttp.api

    	public final fun -deprecated_noTransform ()Z
    	public final fun -deprecated_onlyIfCached ()Z
    	public final fun -deprecated_sMaxAgeSeconds ()I
    	public final fun immutable ()Z
    	public final fun isPrivate ()Z
    	public final fun isPublic ()Z
    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	public final fun noCache ()Z
    	public final fun noStore ()Z
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
Back to Top