Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,464 for method (0.62 sec)

  1. src/main/java/org/codelibs/core/beans/MethodDesc.java

         * Returns the method.
         *
         * @return the method
         */
        Method getMethod();
    
        /**
         * Returns the method name.
         *
         * @return the method name
         */
        String getMethodName();
    
        /**
         * Returns an array of the method's parameter types.
         *
         * @return an array of the method's parameter types
         */
        Class<?>[] getParameterTypes();
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // 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;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

          Class<?> c, ImmutableSet<String> ignore) {
        ImmutableSet.Builder<String> methods = ImmutableSet.builder();
        for (Method method : c.getMethods()) {
          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
              new StringBuilder()
                  .append(typeName(method.getReturnType()))
                  .append(" ")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If the constructor or factory method used to construct instance takes a parameter that
       *       {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

            // When
            ndrObject.encode(mockBuffer);
    
            // Then
            // Verify that our mock buffer had the expected method called.
            verify(mockBuffer).enc_ndr_long(123);
        }
    
        /**
         * Test case for the decode method.
         * Verifies that the decode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if decoding fails.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            final Suggester suggester = Suggester.builder().build(client, "test");
    
            // Use reflection to access private method
            final Method method = Suggester.class.getDeclaredMethod("getIndicesForAlias", String.class);
            method.setAccessible(true);
            final List<String> indices = (List<String>) method.invoke(suggester, aliasName);
    
            assertNotNull("Indices list should not be null", indices);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/NetbiosNameTest.java

            } catch (NoSuchMethodException e) {
                fail("Method not found: " + e.getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle getName() method")
        void testGetName() {
            // Given
            String testName = "TESTSERVER";
            when(mockNetbiosName.getName()).thenReturn(testName);
    
            // When
            String name = mockNetbiosName.getName();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

                method = method.substring(0, method.length() - 4) + "[])";
            }
    
            MethodLinkMetaData metaData = methods.get(method);
            if (metaData != null) {
                return metaData;
            }
    
            List<MethodLinkMetaData> candidates = new ArrayList<MethodLinkMetaData>();
            for (MethodLinkMetaData methodLinkMetaData : methods.values()) {
                if (methodLinkMetaData.name.equals(method)) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 11:17:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null-unmarked returning breaking change.",
                    "Method com.example.Source.baz(): From non-null returning to null-unmarked returning breaking change.",
                )
                assertHasNoWarning()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top