Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for unused_parameter (0.56 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/AnalysisFilterTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    @file:Suppress("UNUSED_PARAMETER")
    
    package org.gradle.internal.declarativedsl.analysis
    
    import org.gradle.declarative.dsl.model.annotations.Configuring
    import org.gradle.declarative.dsl.model.annotations.Restricted
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensionsTest.kt

                    verify(extra).get("property")
                    verifyNoMoreInteractions()
                }
                assertThat(property, nullValue())
            }
        }
    
        private
        fun use(@Suppress("unused_parameter") property: Int?) = Unit
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinBuildScript.kt

            internalError()
    
        /**
         * Configures the plugin dependencies for this project.
         *
         * @see [PluginDependenciesSpec]
         */
        @Suppress("unused")
        fun plugins(@Suppress("unused_parameter") block: PluginDependenciesSpecScope.() -> Unit): Unit =
            invalidPluginsCall()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinProjectScriptTemplate.kt

            internalError()
    
        /**
         * Configures the plugin dependencies for this project.
         *
         * @see [PluginDependenciesSpec]
         */
        @Suppress("unused")
        fun plugins(@Suppress("unused_parameter") block: PluginDependenciesSpecScope.() -> Unit): Unit =
            invalidPluginsCall()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/integration/KotlinScriptCompilerTest.kt

    import org.hamcrest.MatcherAssert.assertThat
    import org.jetbrains.kotlin.scripting.definitions.ScriptDefinition
    import org.junit.Test
    import java.io.File
    
    
    open class TheKotlinScriptTemplate(
        @Suppress("unused_parameter") host: Host
    ) {
        interface Host
    }
    
    
    class KotlinScriptCompilerTest : TestWithTempFiles() {
    
        @Test
        fun canInjectImplicitReceiver() {
            outputDir().let { outputDir ->
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildOperations.kt

                    context.setResult(opResult)
                    returnValue
                }
        })
    
    
    internal
    fun BuildOperationRunner.withStoreOperation(@Suppress("UNUSED_PARAMETER") cacheKey: String, block: () -> StoreResult) =
        run(object : RunnableBuildOperation {
            override fun description(): BuildOperationDescriptor.Builder = BuildOperationDescriptor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:09:37 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinSettingsScriptTemplate.kt

        /**
         * Configures the plugin dependencies for the project's settings.
         *
         * @see [PluginDependenciesSpec]
         * @since 6.0
         */
        @Suppress("unused")
        open fun plugins(@Suppress("unused_parameter") block: PluginDependenciesSpecScope.() -> Unit): Unit =
            throw Exception(
                "The plugins {} block must not be used here. "
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/ArgumentsConverterGenerator.kt

        }
    
        private fun SmartPrinter.generate(packageName: String, convertersMap: Map<KClass<*>, HLParameterConversion>) {
            printCopyright()
            println("@file:Suppress(\"UNUSED_PARAMETER\")")
            println()
            println("package $packageName")
            println()
            collectAndPrintImports(convertersMap)
            println()
            printGeneratedMessage()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/AccessInCurrentReceiverOnlyTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    @file:Suppress("UNUSED_PARAMETER")
    
    package org.gradle.internal.declarativedsl.analysis
    
    import org.gradle.declarative.dsl.model.annotations.AccessFromCurrentReceiverOnly
    import org.gradle.declarative.dsl.model.annotations.Adding
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinSettingsScript.kt

        /**
         * Configures the plugin dependencies for the project's settings.
         *
         * @see [PluginDependenciesSpec]
         * @since 6.0
         */
        @Suppress("unused")
        open fun plugins(@Suppress("unused_parameter") block: PluginDependenciesSpecScope.() -> Unit): Unit =
            throw Exception(
                "The plugins {} block must not be used here. "
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top