Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for callables (0.18 sec)

  1. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/references/Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated.java

          @TestDataPath("$PROJECT_ROOT")
          public class Callables {
            @Test
            public void testAllFilesPresentInCallables() {
              KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/referenceResolve/kDoc/qualified/callables"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
            }
    
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Sat Apr 13 09:17:40 GMT 2024
    - 129.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt

                    ?: MemberScope.Empty
            } else {
                analysisContext.resolveSession.moduleDescriptor.getPackage(callableId.packageName).memberScope
            }
    
            @Suppress("UNCHECKED_CAST")
            return memberScope
                .getContributedDescriptors(DescriptorKindFilter.CALLABLES) { it == callableId.callableName }
                .filterIsInstance<CallableMemberDescriptor>()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 21 12:40:44 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

        }
    
        private fun KtAnalysisSession.collectSymbolsByFqNameInterpretationAsCallableId(
            callableId: CallableId,
            consumer: MutableCollection<KtSymbol>,
        ) {
            when (val classId = callableId.classId) {
                null -> {
                    consumer.addAll(getTopLevelCallableSymbols(callableId.packageName, callableId.callableName))
                }
    
                else -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. 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)
  5. .idea/dictionaries/geevee.xml

    <component name="ProjectDictionaryState">
      <dictionary name="geevee">
        <words>
          <w>builtins</w>
          <w>callables</w>
          <w>klass</w>
          <w>proto</w>
          <w>protoc</w>
          <w>protos</w>
          <w>ubuntu</w>
        </words>
      </dictionary>
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Wed Jul 08 11:27:39 GMT 2015
    - 267 bytes
    - Viewed (0)
  6. 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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirCallableFilteringScope.kt

                baseScope.processAllCallables { callable ->
                    if (isTargetCallable(callable)) {
                        add(callable.name)
                    }
                }
            }
        }
    
        override fun getCallableNames(): Set<Name> = cachedCallableNames
    
        override fun processFunctionsByName(name: Name, processor: (FirNamedFunctionSymbol) -> Unit) {
            if (!cachedCallableNames.contains(name)) return
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     * non-static scopes.
     */
    internal class FirNonStaticMembersScope(
        private val delegate: FirContainingNamesAwareScope,
    ) : FirCallableFilteringScope(delegate) {
        override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean = !callable.fir.isStatic
    
        override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) {
            delegate.processDeclaredConstructors(processor)
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top