Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for parameters (1.2 sec)

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

                        severity = null,
                        className = diagnostic.getHLDiagnosticClassName(),
                        implClassName = diagnostic.getHLDiagnosticImplClassName(),
                        parameters = diagnostic.parameters.mapIndexed(::convertParameter)
                    )
                )
                is DeprecationDiagnosticData -> listOf(Severity.ERROR, Severity.WARNING).map {
                    HLDiagnostic(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    (parent.expression == child && isUsed(parent.parent)) || child in parent.conditions
    
                is KtWhenCondition ->
                    doesParentUseChild(parent.parent, parent)
    
                // Type parameters, return types and other annotations are all contained in KtUserType,
                // and are never considered used as expressions
                is KtUserType ->
                    false
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisScriptSourceModuleResolveCandidatesTestGenerated.java

        @TestDataPath("$PROJECT_ROOT")
        public class Parameters {
          @Test
          public void testAllFilesPresentInParameters() {
            KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolver/singleByPsi/kDoc/parameters"), Pattern.compile("^(.+)\\.kts$"), null, true);
          }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 19:03:00 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

                        val parameters = buildList {
                            receiverTypeRef?.let(::add)
                            parameters.mapTo(this) { it.returnTypeRef }
                            returnTypeRef.let(::add)
                        }
                        if (parameters.isNotEmpty()) {
                            append(parameters.joinToString(prefix = "<", postfix = ">") { it.renderTypeAsKotlinType() })
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

            // in Java sources as well, even though the parameters are there in the bytecode. Since metadata stores JVM signatures, we're
            // adding the name/ordinal parameters manually.
            append("Ljava/lang/String;")
            append("I")
        }
        for (param in method.parameterList.parameters) {
            append(getBinaryPresentationWithCorrection(param.type))
        }
        append(")")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         * Return a [KaTypeScope] for a given [KaType].
         * The type scope will include all members which are declared and callable on a given type.
         *
         * Comparing to the [KaScope], in the [KaTypeScope] all use-site type parameters are substituted.
         *
         * Consider the following code
         * ```
         * fun foo(list: List<String>) {
         *      list // get KtTypeScope for it
         * }
         *```
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         * is somehow changed, then we want to keep the wrapper.
         *
         * Such substitute overrides happen because of inheritance.
         *
         * If the declaration references only its own type parameters, or parameters from the outer declarations, then
         * we consider that it's signature will not be changed by the SUBSTITUTION_OVERRIDE, so the wrapper can be unwrapped.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

        /**
         * The name of the value parameter. For a parameter of `FunctionN.invoke()` functions, the name is taken from the function type
         * notation, if a name is present. For example:
         * ```
         * fun foo(x: (item: Int, String) -> Unit) =
         *   x(1, "") // or `x.invoke(1, "")`
         * ```
         * The names of the value parameters for `invoke()` are "item" and "p2" (its default parameter name).
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
                // resulting in stack overflow if we keep checking allowed type parameter descriptors
                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisScriptSourceModuleResolveCallTestGenerated.java

        @TestDataPath("$PROJECT_ROOT")
        public class Parameters {
          @Test
          public void testAllFilesPresentInParameters() {
            KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolver/singleByPsi/kDoc/parameters"), Pattern.compile("^(.+)\\.kts$"), null, true);
          }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 19:03:00 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top