Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for getModifiers (0.28 sec)

  1. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            for (Map.Entry<String, String> e : expected.entrySet()) {
                Field f = SpnegoConstants.class.getField(e.getKey());
                int m = f.getModifiers();
    
                assertTrue(Modifier.isPublic(m), e.getKey() + " must be public");
                assertTrue(Modifier.isStatic(m), e.getKey() + " must be static");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

            String actionSuffix = "Action";
    
            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
                if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction
                    return;
                }
                final String className = clazz.getName();
                if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            // Arrange & Act
            Class<SessionSetupHandler> clazz = SessionSetupHandler.class;
    
            // Assert
            assertTrue(clazz.isInterface(), "Should be an interface");
            assertTrue(Modifier.isPublic(clazz.getModifiers()), "Interface should be public");
            assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source");
            assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

        }
    
        public void test_isPublicClass() {
            assertTrue("FessActionValidator should be public", java.lang.reflect.Modifier.isPublic(FessActionValidator.class.getModifiers()));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. 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());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. guava-tests/test/com/google/common/io/SourceSinkTester.java

      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                          m.getName().equals("writeReplace")
                              && m.getParameterTypes().length == 0
                              // Only package-private methods are a problem.
                              && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0)
                  .transform(Method::getDeclaringClass);
          if (!supersWithPackagePrivateWriteReplace.isPresent()) {
            continue;
          }
          assertWithMessage(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName());
        for (Method method : AbstractFutureTest.class.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) {
            suite.addTest(
                TestSuite.createTest(AbstractFutureFallbackAtomicHelperTest.class, method.getName()));
          }
        }
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // Interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for Android compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
    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. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws ParameterNotInstantiableException,
              IllegalAccessException,
              InvocationTargetException,
              FactoryMethodReturnsNullException {
        if (!Modifier.isAbstract(cls.getModifiers())) {
          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top