Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for parameter (0.18 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.api-parameter-names-index.gradle.kts

        classpath.from(tasks.named<GroovyCompile>("compileGroovy"))
        destinationFile = project.layout.buildDirectory.file(
            moduleIdentity.baseName.map { "generated-resources/$it-parameter-names/$it-parameter-names.properties" }
        )
    }
    
    main.output.dir(
        parameterNamesIndex.map { it.destinationFile.get().asFile.parentFile }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaDataTest.groovy

    class ParameterMetaDataTest extends Specification {
        def "formats signature"() {
            MethodMetaData method = Mock()
            def parameter = new ParameterMetaData('param')
            def type = new TypeMetaData('org.gradle.SomeType')
            parameter.type = type
    
            expect:
            parameter.signature == 'org.gradle.SomeType param'
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

        private void extractParameters(MethodDeclaration n, MethodMetaData method) {
            for (Parameter parameter : n.getParameters()) {
                TypeMetaData typeMetaData = extractTypeName(parameter.getType());
                if (parameter.isVarArgs()) {
                    typeMetaData.setVarargs();
                }
                method.addParameter(parameter.getNameAsString(), typeMetaData);
            }
        }
    
        @Override
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  4. .teamcity/README.md

    - At the popup window, click `Import Settings from VCS`. Wait a few seconds. 
      - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads.
      - If there are any errors, read the error and fix your code.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            if (!(extensionCandidate || ktFunction.valueParameters.size == paramCount)) {
                return@collectDescendantsOfType false
            }
    
            // Parameter type check
            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
                .withIndex()
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/UnitTestAndCompileExtension.kt

                options.release = null
                options.compilerArgs.remove("-parameters")
                sourceCompatibility = "$majorVersion"
                targetCompatibility = "$majorVersion"
            }
            // Apply ParameterNamesIndex since 6 doesn't support -parameters
            project.apply(plugin = "gradlebuild.api-parameter-names-index")
        }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Jun 20 08:55:37 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. .idea/codeStyles/Project.xml

          <option name="FOR_BRACE_FORCE" value="3" />
        </codeStyleSettings>
        <codeStyleSettings language="JAVA">
          <option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
          <option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
          <option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
          <option name="KEEP_SIMPLE_LAMBDAS_IN_ONE_LINE" value="true" />
    XML
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jul 31 14:47:08 GMT 2023
    - 3.4K bytes
    - Viewed (1)
  8. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
    
            // If the maven-wrapper.properties exists, read it and check if it contains a custom
            // wrapperUrl parameter.
            File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
            String url = DEFAULT_DOWNLOAD_URL;
            if(mavenWrapperPropertyFile.exists()) {
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            |import static java.lang.annotation.ElementType.METHOD
            |import static java.lang.annotation.ElementType.PARAMETER
            |
            |@Retention(RetentionPolicy.CLASS)
            |@Target([METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE])
            |@Language(value = "groovy", prefix = '''
            |${groovyImports().withTrimmableMargin()}
            |
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                    "Method com.example.Source.foo(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change.",
                    "Method com.example.Source.setSomeVar(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change.",
                    "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change."
                )
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
Back to top