Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for Replace (0.65 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

        stat.setIfBlock(replace(stat.getIfBlock()));
        stat.setElseBlock(replace(stat.getElseBlock()));
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public void visitTryCatchFinally(TryCatchStatement stat) {
        stat.setTryStatement(replace(stat.getTryStatement()));
        replaceAll(stat.getCatchStatements());
        stat.setFinallyStatement(replace(stat.getFinallyStatement()));
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacement.kt

                    is ObjectOrigin.FromLocalValue -> origin.copy(assigned = replace(origin.assigned))
                    is ObjectOrigin.ImplicitThisReceiver -> origin.copy(resolvedTo = replaceInReceiver(origin.resolvedTo))
                    is ObjectOrigin.PropertyDefaultValue -> origin.copy(receiver = replace(origin.receiver))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/UnionFileCollectionTest.groovy

            1 * source1.replace(source3, _) >> source1
            1 * source2.replace(source3, _) >> source2
    
            replaced.is(collection)
    
            when:
            def replaced2 = collection.replace(source3, {})
    
            then:
            1 * source1.replace(source3, _) >> source1
            1 * source2.replace(source3, _) >> source4
    
            replaced2 != collection
            replaced2.sourceCollections == [source1, source4]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. build-logic/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                        .replace("\"sha512\":\\s+\"\\w+\"".toRegex(), "\"sha512\": \"\"")
                        .replace("\"sha1\":\\s+\"\\w+\"".toRegex(), "\"sha1\": \"\"")
                        .replace("\"sha256\":\\s+\"\\w+\"".toRegex(), "\"sha256\": \"\"")
                        .replace("\"md5\":\\s+\"\\w+\"".toRegex(), "\"md5\": \"\"")
                    it.writeText(content)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

        classFilePath
            .removeSuffix(classFileExtension)
            .removeSuffix("Kt")
            .replace(slashOrDollar, ".")
    
    
    // visible for testing
    fun classFilePathCandidatesFor(sourceName: String): Sequence<String> =
        sourceName.replace(".", "/").let { path ->
            candidateClassFiles(path) + nestedClassFilePathCandidatesFor(path)
        }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 17:45:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                }
    
                target.append("</${element.tagName}>")
    
                return
            }
    
            if (node instanceof Text) {
                target.append(node.nodeValue.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;'))
                return
            }
    
            throw new UnsupportedOperationException("Don't know how to format DOM node: $node")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FilteredFileCollection.java

            this.collection = collection;
            this.filterSpec = filterSpec;
        }
    
        @Override
        public FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier) {
            AbstractFileCollection newCollection = (AbstractFileCollection) collection.replace(original, supplier);
            if (newCollection == collection) {
                return this;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 08:16:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            if (this is Class<*> && this.isArray) {
                return this.componentType.toCodeTypeString() + "[]"
            }
            return toString()
                .replace("class ", "")
                .replace("interface ", "")
        }
    
        companion object {
            private
            const val RESOURCE = "/default-imports.txt"
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 22 10:58:31 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. build-logic/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

                    .replace("\"sha1\":\\s+\"\\w+\"".toRegex(), "\"sha1\": \"\"")
                    .replace("\"sha256\":\\s+\"\\w+\"".toRegex(), "\"sha256\": \"\"")
                    .replace("\"md5\":\\s+\"\\w+\"".toRegex(), "\"md5\": \"\"")
                it.writeText(content)
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-protocol/src/testFixtures/groovy/org/gradle/tooling/internal/provider/AbstractClassGraphSpec.groovy

         */
        List<File> isolatedClasses(Class<?>... classes) {
            return classes.collect {
                def name = it.name.replace('.', '/') + '.class'
                def classPathRoot = tmpDir.file(it.name)
                def classFile = classPathRoot.file(name)
                def resource = it.classLoader.getResource(name)
                classFile.parentFile.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top