Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for void (0.15 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
        public static void setChildren(Node element, Closure cl) {
            while (element.hasChildNodes()) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        }
    
        @Override
        boolean equals(Object o) {
            return o.value == value
        }
    
        @Override
        int hashCode() {
            return value.hashCode()
        }
    
        void attach(ClassMetaDataRepository<TestDomainObject> repository) {
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

    class EnrichedReportRenderer extends GroovyReportRenderer {
        private static acceptedChangesRegex = ~/<a href="(.+)">accepted-public-api-changes.json<\/a>/
    
        @Override
        void render(File htmlReportFile, RichReportData data) {
            super.render(htmlReportFile, enrichReport(data))
        }
    
        /**
         * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

    abstract class FindGradleJars implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File baselineJarsDirectory = artifact.get().asFile
            if (baselineJarsDirectory.name == 'gradle-jars') {
                baselineJarsDirectory.listFiles().each {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

        }
    
        private Map<String, CtClass> collectImplementedInterfaces(CtClass c) {
            Map<String, CtClass> result = [:]
            collect(result, c)
            return result
        }
    
        private void collect(Map<String, CtClass> result, CtClass c) {
            c.interfaces.each { result.put(it.name, it) }
    
            if (c.superclass != null) {
                collect(result, c.superclass)
            }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

        MethodsRemovedInInternalSuperClassRule rule
    
        static class OldSuperInternal {
            void publicMethod() {}
    
            private void privateMethod() {}
        }
    
        static class OldBase extends OldSuperInternal {
            void anotherPublicMethod() {}
        }
    
        static class OldSub extends OldBase {}
    
        static class NewSuperInternal {}
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

     */
    @DisableCachingByDefault(because = "Not worth caching")
    class CleanAcceptedApiChanges extends DefaultTask {
    
        @PathSensitive(PathSensitivity.ABSOLUTE)
        @InputFile
        File jsonFile
    
        @TaskAction
        void clean() {
            AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File gradleJars = outputs.dir("gradle-jars")
            File dependencies = outputs.dir("gradle-dependencies")
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 08 13:44:59 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

        }
    
        private Set<CtMethod> collectAllPublicApiMethods(CtClass c) {
            Set<CtMethod> result = [] as Set
            collect(result, c)
            return result
        }
    
        private void collect(Set<CtMethod> result, CtClass c) {
            if (c == null) {
                return
            }
    
            result.addAll(c.declaredMethods.findAll { isPublicApi(it) })
    
            collect(result, c.superclass)
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                        String field = "value";
                        void method();
                    }
                """
                : """
                    public class $TEST_INTERFACE_SIMPLE_NAME {
                        public String field = "value";
                        public void method() { }
                        public $TEST_INTERFACE_SIMPLE_NAME() { }
                    }
                """
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top