Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 275 for callableId (1.69 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/containingDeclarationProvider/AbstractContainingDeclarationProviderByReferenceTest.kt

            }
        }
    
        private fun render(symbol: KaSymbol): String {
            val qualifiedName = when (symbol) {
                is KaCallableSymbol -> symbol.callableId?.toString()
                is KaClassLikeSymbol -> symbol.classId?.toString()
                else -> null
            }
    
            return qualifiedName ?: (symbol as? KaNamedSymbol)?.name?.asString() ?: "Unnamed"
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValueRenderer.kt

            append(value.constantValue.renderAsKotlinConstant())
        }
    
        private fun StringBuilder.renderEnumEntryConstantValue(value: KaEnumEntryAnnotationValue) {
            append(value.callableId?.asSingleFqName()?.asString())
        }
    
        private fun StringBuilder.renderAnnotationConstantValue(application: KaAnnotationApplicationValue) {
            renderAnnotationApplication(application.annotationValue)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/klibSourceFileProvider/AbstractGetKlibSourceFileNameTest.kt

                    callableNames.forEach { callableName ->
                        getTopLevelCallableSymbols(packageFqName, callableName).forEach { symbol ->
                            actual.appendLine("Callable: ${symbol.callableId}; klibSourceFile: ${symbol.getKlibSourceFileName()}")
                        }
                    }
                }
            }
    
            testServices.assertions.assertEqualsToTestDataFileSibling(actual.toString())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolDeclarationOverridesProvider/AbstractOverriddenDeclarationProviderTest.kt

                if (index == 0) {
                    val qualifiedName = when (parent) {
                        is KaClassLikeSymbol -> parent.classId?.toString()
                        is KaCallableSymbol -> parent.callableId?.toString()
                        else -> null
                    }
    
                    if (qualifiedName != null) {
                        chunks += qualifiedName
                        continue
                    }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/references/TestReferenceResolveResultRenderer.kt

            val nonLocalFqName = when (symbol) {
                is KaConstructorSymbol -> symbol.containingClassId?.asSingleFqName()
                is KaCallableSymbol -> symbol.callableId?.asSingleFqName()?.parent()
                is KaClassLikeSymbol -> symbol.classId?.asSingleFqName()?.parent()
                else -> null
            }
            when (nonLocalFqName) {
                null -> Unit
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri May 31 19:52:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

                    } else {
                        val classId = (containingSymbolOrSelf as? KaConstructorSymbol)?.containingClassId
                            ?: (containingSymbolOrSelf as? KaCallableSymbol)?.callableId?.classId
                        classId?.takeUnless { it.shortClassName.isSpecial }
                            ?.asFqNameString()
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceShortener.kt

                        } else {
                            SHORTEN_AND_IMPORT
                        }
                    }
    
                    else -> {
                        val isNotTopLevel = symbol.callableId?.classId != null
    
                        if (isNotTopLevel) {
                            SHORTEN_IF_ALREADY_IMPORTED
                        } else {
                            SHORTEN_AND_IMPORT
                        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Callables.java

          Callable<T> callable, ListeningExecutorService listeningExecutorService) {
        checkNotNull(callable);
        checkNotNull(listeningExecutorService);
        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Callables.java

          Callable<T> callable, ListeningExecutorService listeningExecutorService) {
        checkNotNull(callable);
        checkNotNull(listeningExecutorService);
        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      public void testReturning() throws Exception {
        assertNull(Callables.returning(null).call());
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertSame(value, callable.call());
        // Expect the same value on subsequent calls
        assertSame(value, callable.call());
      }
    
      @J2ktIncompatible
      @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top