Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TypeReference (0.3 sec)

  1. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/typeProvider/Fe10IdeNormalAnalysisSourceModuleTypeReferenceTestGenerated.java

      }
    
      @Test
      @TestMetadata("propertyReceiver.kt")
      public void testPropertyReceiver() {
        runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReceiver.kt");
      }
    
      @Test
      @TestMetadata("propertyReturn.kt")
      public void testPropertyReturn() {
    Java
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Tue Feb 27 20:30:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                    parent.resolveToFirSymbolOfTypeSafe<FirValueParameterSymbol>(firResolveSession, FirResolvePhase.TYPES)?.fir?.returnTypeRef
    
                parent is KtCallableDeclaration && (parent is KtNamedFunction || parent is KtProperty)
                        && (parent.receiverTypeReference === this || parent.typeReference === this) -> {
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            // Handle callable declarations with explicit return type first
            if (declaration is KtCallableDeclaration) {
                val typeReference = declaration.typeReference
    
                if (typeReference != null) {
                    val bindingContext = analysisContext.analyze(typeReference, AnalysisMode.PARTIAL)
                    val kotlinType =
                        if (declaration is KtParameter && declaration.isVarArg) {
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                    val sameParamCount = ktCtor.valueParameters.size == ctorParamTypes.size
                    val sameParamTypes = sameParamCount && ctorParamTypes.mapIndexed { idx, paramType -> paramType.endsWith(ktCtor.valueParameters[idx].typeReference!!.text) }.all { it }
                    sameName && sameParamCount && sameParamTypes
                }
                ?.isDocumentedAsSince(version) == true
        }
    
        private
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            // Expected type of `expression` is `T`
            val property = expression.unwrapQualified<KtProperty> { property, expr -> property.initializer == expr } ?: return null
            if (property.typeReference == null) return null
            return getReturnTypeForKtDeclaration(property).nonErrorTypeOrNull()
        }
    
        private fun getExpectedTypeByFunctionExpressionBody(expression: PsiElement): KtType? {
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.xml.sax.InputSource;
    
    import com.fasterxml.jackson.core.type.TypeReference;
    import com.fasterxml.jackson.databind.ObjectMapper;
    
    /**
     * @author shinsuke
     */
    public class AdminBackupAction extends FessAdminAction {
    
        public static final String ROLE = "admin-backup";
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // call entry and if so we resolve the constructor callee expression.
            val userType = expression.parent as? KtUserType ?: return expression
            val typeReference = userType.parent as? KtTypeReference ?: return expression
            val constructorCalleeExpression = typeReference.parent as? KtConstructorCalleeExpression ?: return expression
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Thu Mar 21 15:21:57 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * - `|foo|.Bar<...>` - false
         * - `foo.Bar|<...>|` - false
         */
        private val KtUserType.inSelection: Boolean
            get() {
                val typeReference = referenceExpression ?: return false
                return typeReference.textRange.intersects(selection)
            }
    
        /**
         * Checks whether callee reference of [this] qualified expression is considered to be in the [selection] text range.
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Wed Apr 17 17:23:40 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            val bindingContext = analysisContext.analyze(ktTypeReference, AnalysisMode.PARTIAL)
            val resolvedCall = call.getResolvedCall(bindingContext) ?: return null
            val typeProjection = call.typeArguments.find { it.typeReference == ktTypeReference } ?: return null
            val index = call.typeArguments.indexOf(typeProjection)
            val paramDescriptor = resolvedCall.candidateDescriptor.typeParameters.find { it.index == index } ?: return null
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import org.opensearch.search.collapse.CollapseBuilder;
    import org.opensearch.search.fetch.subphase.highlight.HighlightBuilder;
    import org.opensearch.threadpool.ThreadPool;
    
    import com.fasterxml.jackson.core.type.TypeReference;
    import com.fasterxml.jackson.databind.ObjectMapper;
    import com.google.common.io.BaseEncoding;
    
    public class SearchEngineClient implements Client {
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top