Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for getReturnType (0.09 sec)

  1. android/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()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. 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()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
          this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType());
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    if (m.getParameterTypes().length != 0
                            || !m.getReturnType().equals(Boolean.TYPE) && !m.getReturnType().equals(Boolean.class)) {
                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(2));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("set")) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (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) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

          if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testAsMapBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
          if (m.getName().equals("asMap") && m.getReturnType().equals(SortedMap.class)) {
            return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Invokable.java

      public final <R1 extends R> Invokable<T, R1> returning(TypeToken<R1> returnType) {
        if (!returnType.isSupertypeOf(getReturnType())) {
          throw new IllegalArgumentException(
              "Invokable is known to return " + getReturnType() + ", not " + returnType);
        }
        @SuppressWarnings("unchecked") // guarded by previous check
        Invokable<T, R1> specialized = (Invokable<T, R1>) this;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. 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);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
          this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType());
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
          final Class<?> returnType = method.getReturnType();
          assertTrue(
              rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName),
              returnType.isArray());
          assertSame(
              rootLocaleFormat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top