Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for getReturnType (0.21 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
      private static final ImmutableMap<Class<?>, Method> EMPTY_GENERATORS;
    
      static {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptionClosureInstrumentingClassVisitor.java

                            // and return:
                            visitInsn(Type.getReturnType(methodData.descriptor).getOpcode(IRETURN));
    
                            // start exception handler:
                            mv.visitLabel(catchBlockStart);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            }
        }
    
    
    private
    fun ApiTypeProvider.Context.apiTypeUsageForReturnType(delegate: MethodNode, returnType: TypeSignatureVisitor?) =
        apiTypeUsageFor(
            returnType?.binaryName ?: Type.getReturnType(delegate.desc).className,
            delegate.visibleAnnotations.has<Nullable>(),
            returnType?.variance ?: Variance.INVARIANT,
            returnType?.typeArguments ?: emptyList()
        )
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

            }
    
            @Override
            public void check(JavaMethod method, ConditionEvents events) {
                Set<JavaClass> referencedTypes = new LinkedHashSet<>();
                unpackJavaType(method.getReturnType(), referencedTypes);
                method.getTypeParameters().forEach(typeParameter -> unpackJavaType(typeParameter, referencedTypes));
                referencedTypes.addAll(method.getRawParameterTypes());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            invokeBridgedMethod(methodVisitor, generatedType, method);
            Class<?> returnType = method.getReturnType();
            finishVisitingMethod(methodVisitor, returnCode(Type.getType(returnType)));
        }
    
        private void invokeBridgedMethod(MethodVisitor methodVisitor, Type generatedType, Method method) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Invokable<T, String> invokable =
            new TypeToken<T>(getClass()) {}.method(getMethod).returning(String.class);
        assertEquals(TypeToken.of(String.class), invokable.getReturnType());
      }
    
      public <T extends List<String>> void testMethod_parameterTypes() throws NoSuchMethodException {
        Method setMethod = List.class.getMethod("set", int.class, Object.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Invokable<T, String> invokable =
            new TypeToken<T>(getClass()) {}.method(getMethod).returning(String.class);
        assertEquals(TypeToken.of(String.class), invokable.getReturnType());
      }
    
      public <T extends List<String>> void testMethod_parameterTypes() throws NoSuchMethodException {
        Method setMethod = List.class.getMethod("set", int.class, Object.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeToken.java

      /**
       * Returns the raw type of {@code T}. Formally speaking, if {@code T} is returned by {@link
       * java.lang.reflect.Method#getGenericReturnType}, the raw type is what's returned by {@link
       * java.lang.reflect.Method#getReturnType} of the same method object. Specifically:
       *
       * <ul>
       *   <li>If {@code T} is a {@code Class} itself, {@code T} itself is returned.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeToken.java

      /**
       * Returns the raw type of {@code T}. Formally speaking, if {@code T} is returned by {@link
       * java.lang.reflect.Method#getGenericReturnType}, the raw type is what's returned by {@link
       * java.lang.reflect.Method#getReturnType} of the same method object. Specifically:
       *
       * <ul>
       *   <li>If {@code T} is a {@code Class} itself, {@code T} itself is returned.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

                visitAnnotations(p);
            }
            ClassNode[] exceptions = node.getExceptions();
            for (ClassNode t : exceptions) {
                resolveOrFail(t, node);
            }
            resolveOrFail(node.getReturnType(), node);
    
            MethodNode oldCurrentMethod = currentMethod;
            currentMethod = node;
            super.visitConstructorOrMethod(node, isConstructor);
            currentMethod = oldCurrentMethod;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top