Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for unused_parameter (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean {
        return when (className) {
          "okhttp3.recipes.CheckHandshake" -> true // by design
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracerTest.kt

            assertIs<ResolutionTrace.ResolutionOrErrors.NoResolution>(resolver.trace.assignmentResolution(assignmentInBlock))
        }
    
        class TopLevelReceiver {
            @Adding
            fun f(@Suppress("UNUSED_PARAMETER") x: Int) = 0
    
            @get:Restricted
            var s: String = ""
        }
    
        private
        val <R> ResolutionTrace.ResolutionOrErrors<R>.result: R?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top