Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for getReturnType (0.14 seconds)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            assertEquals(boolean.class, m1.getReturnType());
            assertEquals(0, m1.getParameterCount());
            assertEquals(0, m1.getExceptionTypes().length);
    
            // overlaps(SmbResourceLocator): boolean, declares CIFSException
            Method m2 = clazz.getMethod("overlaps", SmbResourceLocator.class);
            assertEquals(boolean.class, m2.getReturnType());
            assertEquals(1, m2.getParameterCount());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/AllocInfoTest.java

                // Verify method exists with correct signature
                assertNotNull(AllocInfo.class.getMethod("getCapacity"));
                assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType());
            }
    
            @Test
            @DisplayName("Should define getFree method")
            void shouldDefineGetFreeMethod() throws NoSuchMethodException {
                // Verify method exists with correct signature
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/Invokable.java

      public final <R1 extends R> Invokable<T, R1> returning(TypeToken<R1> returnType) {
        checkArgument(
            returnType.isSupertypeOf(getReturnType()),
            "Invokable is known to return %s, not %s",
            getReturnType(),
            returnType);
        @SuppressWarnings("unchecked") // guarded by previous check
        Invokable<T, R1> specialized = (Invokable<T, R1>) this;
        return specialized;
    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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java

            section.setAttribute("role", "detail");
    
            Element title = document.createElement("title");
            section.appendChild(title);
            title.appendChild(linkRenderer.link(methodDoc.getMetaData().getReturnType(), listener));
            title.appendChild(document.createTextNode(" "));
            Element literal = document.createElement("literal");
            title.appendChild(literal);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            this.beanDesc = beanDesc;
            this.method = method;
            methodName = method.getName();
            parameterTypes = method.getParameterTypes();
            returnType = method.getReturnType();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (int i = 0; i < parameterTypes.length; ++i) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.3K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/core/beans/MethodDesc.java

        /**
         * Returns the return type of the method.
         *
         * @param <T>
         *            the return type of the method
         * @return the return type of the method
         */
        <T> Class<T> getReturnType();
    
        /**
         * Returns {@literal true} if the method is {@literal public}.
         *
         * @return {@literal true} if the method is {@literal public}
         */
        boolean isPublic();
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
              new StringBuilder()
                  .append(typeName(method.getReturnType()))
                  .append(" ")
                  .append(method.getName())
                  .append("(");
          String sep = "";
          for (Class<?> param : method.getParameterTypes()) {
    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. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

        } else if (rawType.equals(IntFunction.class)) {
          try {
            Method method = IntFunction.class.getMethod("apply", int.class);
            return (IntFunction<Object>) v -> getDefaultValue(type.method(method).getReturnType());
          } catch (NoSuchMethodException e) {
            throw newLinkageError(e);
          }
        } else if (rawType.equals(Consumer.class)) {
          return (Consumer<Object>) v -> {};
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
          for (Invokable<?, ?> factory : factories) {
            if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) {
              builder.add(factory);
            }
          }
          ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();
          Assert.assertFalse(
              "No "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
          for (Invokable<?, ?> factory : factories) {
            if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) {
              builder.add(factory);
            }
          }
          ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();
          Assert.assertFalse(
              "No "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
Back to Top