Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for modifier (0.4 sec)

  1. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         * @return true if static, false otherwise
         */
        public static boolean isStatic(final int modifier) {
            return Modifier.isStatic(modifier);
        }
    
        /**
         * Checks if the specified modifier is final.
         *
         * @param modifier
         *            the modifier to check
         * @return true if final, false otherwise
         */
        public static boolean isFinal(final int modifier) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        public void test_class_is_public() {
            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be abstract", java.lang.reflect.Modifier.isAbstract(SystemMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be final", java.lang.reflect.Modifier.isFinal(SystemMonitorTarget.class.getModifiers()));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be abstract", java.lang.reflect.Modifier.isAbstract(HotThreadMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be final", java.lang.reflect.Modifier.isFinal(HotThreadMonitorTarget.class.getModifiers()));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

        val store = context.getStore(Namespace.create(StartStop::class.java))
    
        val staticFields =
          findAnnotatedFields(
            context.requiredTestClass,
            StartStop::class.java,
          ) { Modifier.isStatic(it.modifiers) }
    
        for (field in staticFields) {
          field.setAccessible(true)
          val server = field.get(null) as? MockWebServer ?: continue
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.lang.reflect.Modifier.PRIVATE;
    import static java.lang.reflect.Modifier.PROTECTED;
    import static java.lang.reflect.Modifier.PUBLIC;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Optional;
    import com.google.common.reflect.ClassPath;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

    package org.codelibs.core.lang;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.Constructor;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Modifier;
    
    import org.codelibs.core.exception.IllegalAccessRuntimeException;
    import org.codelibs.core.exception.InstantiationRuntimeException;
    import org.codelibs.core.exception.InvocationTargetRuntimeException;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

        }
    
        public void test_isPublicClass() {
            assertTrue("FessWebResourceRoot should be public", java.lang.reflect.Modifier.isPublic(FessWebResourceRoot.class.getModifiers()));
            assertFalse("FessWebResourceRoot should not be abstract",
                    java.lang.reflect.Modifier.isAbstract(FessWebResourceRoot.class.getModifiers()));
        }
    
        public void test_constructorSignature() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkTester.java

    import com.google.common.collect.ImmutableMap;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @param <S> the source or sink type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.AccessibleObject;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableSet;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top