Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for callables (0.17 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.platform.jvm.isJvm
    
    /**
     * Provides top-level names for classifiers and callables in given packages. Apart from names found in sources and binaries,
     * [DeclarationsInPackageProvider] also collects names for classifiers and callables generated by
     * [FirDeclarationGenerationExtension][org.jetbrains.kotlin.fir.extensions.FirDeclarationGenerationExtension]s.
     *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/scopeProvider/Fe10IdeNormalAnalysisSourceModulePackageScopeTestGenerated.java

      }
    
      @Test
      @TestMetadata("callables.kt")
      public void testCallables() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/packageScope/callables.kt");
      }
    
      @Test
      @TestMetadata("classes.kt")
      public void testClasses() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                DeclaredMemberScopeKind.COMBINED -> combinedScope
            }
        }
    
        /**
         * Returns a declared member scope which contains both static and non-static callables, as well as all classifiers. Java classes need to
         * be handled specially, because [declaredMemberScope] doesn't handle Java enhancement properly.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                }
                if (failure) {
                    return results;
                }
    
                List<Callable<List<ProjectBuildingResult>>> callables = interimResults.stream()
                        .map(interimResult ->
                                (Callable<List<ProjectBuildingResult>>) () -> doBuild(projectIndex, interimResult))
                        .collect(Collectors.toList());
    
                try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        return ClassLiteralResolutionResult(type.toKtType(analysisContext), classId)
    }
    
    internal val CallableMemberDescriptor.callableIdIfNotLocal: CallableId?
        get() = calculateCallableId(allowLocal = false)
    
    internal fun CallableMemberDescriptor.calculateCallableId(allowLocal: Boolean): CallableId? {
        if (this is SyntheticJavaPropertyDescriptor) {
            return getMethod.calculateCallableId(allowLocal)?.copy(callableName = name)
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            val distinctCandidates = candidates.distinctBy { it.callableId }
            return distinctCandidates.singleOrNull()
                ?: errorWithAttachment("Expected all candidates to have same callableId but some of them but was different") {
                    withEntry("callableIds", distinctCandidates.map { it.callableId.asSingleFqName() }.joinToString())
                }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                            KtEnumEntryAnnotationValue(resolvedSymbol.callableId, sourcePsi, token)
                        }
    
                        else -> null
                    }
                }
    
                is FirEnumEntryDeserializedAccessExpression -> {
                    KtEnumEntryAnnotationValue(CallableId(enumClassId, enumEntryName), sourcePsi, token)
                }
    
                is FirGetClassCall -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

                    name = annotationParameterName,
                    expression = KtArrayAnnotationValue(
                        values = map {
                            KtEnumEntryAnnotationValue(
                                callableId = CallableId(
                                    classId = expectedEnumClassId,
                                    callableName = Name.identifier(it),
                                ),
                                sourcePsi = null,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.NAMED_PARAMETER_NOT_FOUND,
                Errors.NAMED_ARGUMENTS_NOT_ALLOWED,
                Errors.VARARG_OUTSIDE_PARENTHESES,
                Errors.SPREAD_OF_NULLABLE,
                Errors.SPREAD_OF_LAMBDA_OR_CALLABLE_REFERENCE,
                Errors.MANY_LAMBDA_EXPRESSION_ARGUMENTS,
                Errors.UNEXPECTED_TRAILING_LAMBDA_ON_A_NEW_LINE,
                Errors.TOO_MANY_ARGUMENTS,
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(groupId, artifactId, version, tag, s);
            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, String tag, Callable<T> supplier) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
Back to top