Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for returnType (0.23 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                            // we want full Array<out T> type for parity with FIR implementation
                            bindingContext[BindingContext.VALUE_PARAMETER, declaration]?.returnType
                        } else {
                            bindingContext[BindingContext.TYPE, typeReference]
                        } ?: ErrorUtils.createErrorType(ErrorTypeKind.RETURN_TYPE, typeReference.text)
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      }
    
      public void testFalseRecursiveType_mappingOnTheSameDeclarationNotUsed() {
        Type returnType =
            genericReturnType(WithFalseRecursiveType.class, "keyShouldNotResolveToStringList");
        TypeToken<?> keyType =
            TypeToken.of(returnType).resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
        assertEquals("java.util.List<V>", keyType.getType().toString());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K 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
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            ClassDoc classDoc = classDoc('Class', content: content)
            MethodDoc method1 = methodDoc('methodName', id: 'method1Id', returnType: 'ReturnType1', description: 'method description', comment: 'method comment')
            MethodDoc method2 = methodDoc('methodName', id: 'method2Id', returnType: 'ReturnType2', description: 'overloaded description', comment: 'overloaded comment', paramTypes: ['ParamType'])
            _ * classDoc.classProperties >> []
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

        public static Class<?> getElementTypeOfCollectionFromReturnType(final Method method) {
            assertArgumentNotNull("method", method);
    
            final Type returnType = method.getGenericReturnType();
            return GenericsUtil.getRawClass(GenericsUtil.getElementTypeOfCollection(returnType));
        }
    
        /**
         * メソッドの引数型 (パラメタ化されたマップ) のキー型を返します。
         *
         * @param method
         *            メソッド。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            String name = methodDeclaration.getNameAsString();
    
            String rawCommentText = getJavadocComment(methodDeclaration);
            TypeMetaData returnType = extractTypeName(methodDeclaration.getType());
            MethodMetaData methodMetaData = getCurrentClass().addMethod(name, returnType, rawCommentText);
    
            findAnnotations(methodDeclaration, methodMetaData);
            extractParameters(methodDeclaration, methodMetaData);
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
        ParameterizedType returnType = (ParameterizedType) factory.getReturnType().getType();
        assertEquals(type, returnType.getRawType());
        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
            ImmutableList.copyOf(returnType.getActualTypeArguments()));
      }
    
      public void testConstructor_exceptionTypes() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      }
    
      public void testFalseRecursiveType_mappingOnTheSameDeclarationNotUsed() {
        Type returnType =
            genericReturnType(WithFalseRecursiveType.class, "keyShouldNotResolveToStringList");
        TypeToken<?> keyType =
            TypeToken.of(returnType).resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
        assertEquals("java.util.List<V>", keyType.getType().toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            this.metaDataRepository = metaDataRepository;
        }
    
        public MethodMetaData addMethod(String name, TypeMetaData returnType, String rawCommentText) {
            MethodMetaData method = new MethodMetaData(name, this);
            declaredMethods.add(method);
            method.setReturnType(returnType);
            method.setRawCommentText(rawCommentText);
            return method;
        }
    
        @Override
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 10.1K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                        name = function.name,
                        parameters = function.newMappedParameters().groovyNamedArgumentsToVarargs().javaClassToKotlinClass(),
                        returnType = function.returnType
                    )
                )
            }
    
    
    private
    fun ApiTypeUsage.hasJavaClass(): Boolean =
        isJavaClass ||
            isKotlinArray && typeArguments.single().isJavaClass ||
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top