Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 751 for casts (3.91 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependencies in path operation decorators
    
    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

            if (canBeViewedAs(type)) {
                return Cast.uncheckedCast(toView(modelNode, ruleDescriptor, true));
            } else {
                return null;
            }
        }
    
        @Override
        public <T> ModelView<? extends T> asImmutable(ModelType<T> type, MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor) {
            if (canBeViewedAs(type)) {
                return Cast.uncheckedCast(toView(modelNode, ruleDescriptor, false));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java

            @Override
            public THIS value(@Nullable T value) {
                super.value(value);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public THIS value(Provider<? extends T> provider) {
                super.value(provider);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public void set(@Nullable File file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/CastExtensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.stdlib
    
    import org.gradle.internal.Cast
    
    
    fun <T> Any.uncheckedCast(): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 767 bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionTypeProvider.kt

         *   }
         * ```
         * Note that only nullability from "stable" smart cast types is considered. The
         * [spec](https://kotlinlang.org/spec/type-inference.html#smart-cast-sink-stability) provides an explanation on smart cast stability.
         */
        public fun KtExpression.isDefinitelyNull(): Boolean =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.substututorFactory
    
    import org.jetbrains.kotlin.analysis.api.components.buildClassType
    import org.jetbrains.kotlin.analysis.api.components.buildSubstitutor
    import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.stringRepresentation
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/dataFlowInfoProvider/AbstractExitPointSnapshotTest.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.dataFlowInfoProvider
    
    import com.intellij.openapi.util.TextRange
    import com.intellij.psi.PsiElement
    import com.intellij.psi.util.PsiTreeUtil
    import org.jetbrains.kotlin.analysis.api.KaAnalysisNonPublicApi
    import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.stringRepresentation
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/text/template/57646.md

    Templates now support the new "else with" action, which reduces template complexity in some use cases....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 103 bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/symbols/FirIdeNormalAnalysisSourceModuleSymbolByFqNameTestGenerated.java

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.test.cases.generated.cases.symbols;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 11:41:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/psiDeclarationProvider/FirStandaloneNormalAnalysisLibraryBinaryDecompiledModulePsiDeclarationProviderTestGenerated.java

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.standalone.fir.test.cases.generated.cases.components.psiDeclarationProvider;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 10:23:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top