Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Object (0.26 sec)

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

    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.name.StandardClassIds
    import org.jetbrains.kotlin.psi.KtClassOrObject
    
    //todo introduce LibraryModificationTracker based cache?
    internal object FirSyntheticFunctionInterfaceSourceProvider {
        fun findPsi(fir: FirDeclaration): PsiElement? {
            return when (fir) {
                is FirSimpleFunction -> provideSourceForInvokeFunction(fir)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 02 14:27:26 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForReceiverParameter.kt

        }
    
        override val annotationClassIds: Collection<ClassId>
            get() = withValidityAssertion {
                annotationClassIds(firCallableSymbol, useSiteSession, receiverParameter)
            }
    
        companion object {
            fun create(firCallableSymbol: FirCallableSymbol<*>, builder: KtSymbolByFirBuilder): KtAnnotationsList {
                val receiverParameter = firCallableSymbol.receiverParameter
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt

            // Compiler implementation does nothing.
            // Descriptor-based shortening is implemented on the IDE plugin side.
            val ktFilePointer = SmartPointerManager.createPointer(file)
    
            return object : ShortenCommand {
                override val targetFile: SmartPsiElementPointer<KtFile> get() = ktFilePointer
                override val importsToAdd: Set<FqName> get() = emptySet()
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Nov 20 20:18:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSamResolver.kt

    
            // TODO: This transformer is not intended for actual transformations and
            //  created here only to simplify access to SAM resolver in body resolve components
            private val stubBodyResolveTransformer = object : FirBodyResolveTransformer(
                session = firSession,
                phase = FirResolvePhase.BODY_RESOLVE,
                implicitTypeOnly = false,
                scopeSession = scopeSession,
            ) {}
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu May 12 14:15:14 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                        if (fir.resolvedToCompanionObject) {
                            // this flag is true only when companion object is resolved through its containing class name,
                            // so we want to drop companion object own name from the classId
                            referencedClass.classId.outerClassId ?: return referencedSymbolsByFir
                        } else {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     * work there. This functionality is covered by package scope tests.
     */
    @OptIn(ExperimentalTopLevelDeclarationsGenerationApi::class)
    internal object DeclarationsInPackageProvider {
        internal fun getTopLevelClassifierNamesInPackageProvider(packageFqName: FqName, analysisSession: KtFirAnalysisSession): Set<Name> {
            return buildSet {
                addAll(
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

                        }
                        else -> null
                    }
                }
            } ?: TODO(descriptor::class.java.name)
            val libraryPath = Paths.get(library)
            return object : KtLibraryModule {
                override val libraryName: String = libraryPath.fileName.toString().substringBeforeLast(".")
                override val librarySources: KtLibrarySourceModule? = null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 21 15:34:34 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    if (whenExpression != null) {
                        val subject = whenExpression.subjectExpression ?: return with(analysisSession) { builtinTypes.BOOLEAN }
                        val kotlinType = analysisContext.analyze(subject).getType(subject)
                        return kotlinType?.toKtNonErrorType(analysisContext)
                    }
                }
    
    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)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("when_subject.kt")
      public void testWhen_subject() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_subject.kt");
      }
    
      @Test
      @TestMetadata("when_subject_with_branches.kt")
      public void testWhen_subject_with_branches() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 27 20:30:06 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/psiTypeProvider/Fe10IdeNormalAnalysisSourceModuleAnalysisApiExpressionPsiTypeProviderTestGenerated.java

      }
    
      @Test
      @TestMetadata("class_object_call.kt")
      public void testClass_object_call() {
        runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_call.kt");
      }
    
      @Test
      @TestMetadata("class_object_constructor.kt")
      public void testClass_object_constructor() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 19 13:57:23 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top