Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for ToString (6.41 sec)

  1. build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java

        default String getName() {
            try (Writer writer = new StringWriter()) {
                Supplier<String> methodReference = this::toString;
                Supplier<String> lambda = () -> this.toString();
            } catch (IOException ignore) {
            }
            return "foo";
        }
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

            archiveVersion = moduleIdentity.version.map { it.baseVersion.version }
            manifest.attributes(
                mapOf(
                    Attributes.Name.IMPLEMENTATION_TITLE.toString() to "Gradle",
                    Attributes.Name.IMPLEMENTATION_VERSION.toString() to moduleIdentity.version.map { it.baseVersion.version }
                )
            )
        }
    }
    
    fun configureClasspathManifestGeneration() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                        errors << "Parameter $idx from null accepting to non-null accepting breaking change".toString()
                    } else if (!oldNullability && newNullability) {
                        warnings << "Parameter $idx nullability changed from non-nullable to nullable".toString()
                    }
                }
            }
    
            if (member instanceof JApiField) {
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val specificContentId = if (descriptor.language === Language.CPP || descriptor.language === Language.SWIFT) {
                "native-" + descriptor.componentType.toString()
            } else {
                descriptor.componentType.toString()
            }
    
            val comments = descriptor.generateWithExternalComments(groovyDslSettings)
            descriptor.generateWithExternalComments(kotlinDslSettings)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                throw new GradleException("filter isn't ready to transform");
            }
    
            Document document = Jsoup.parse(CharStreams.toString(in));
            document.outputSettings().indentAmount(2).prettyPrint(true);
            document.prependChild(new DocumentType("html", "", ""));
            document.head().
                    append("<meta charset='utf-8'>").
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                }
            });
            return builder.toString();
        }
    
        public String getArraySuffix() {
            StringBuilder builder = new StringBuilder();
            for (int i = 0; i < arrayDimensions; i++) {
                builder.append("[]");
            }
            if (varargs) {
                builder.append("...");
            }
            return builder.toString();
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                    } else {
                        text.append(scanner.getFirst());
                        scanner.next();
                    }
                }
    
                visitor.onText(text.toString());
            }
            visitor.onEnd();
        }
    
        private void skipComment() {
            scanner.next(4);
            while (!scanner.isEmpty() && !scanner.lookingAt(END_HTML_COMMENT)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                fixProgramListings(doc)
            }
        }
    
        def addVersionInfo(Document doc) {
            Element releaseInfo = doc.createElement('releaseinfo')
            releaseInfo.appendChild(doc.createTextNode(version.get().toString()))
            doc.documentElement.bookinfo[0]?.appendChild(releaseInfo)
        }
    
        def fixProgramListings(Document doc) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  9. .github/workflows/CheckBadMerge.groovy

            "platforms/core-runtime/launcher/src/main/resources/release-features.txt"
        ]
    
        static void main(String[] commits) {
            println("Commits to check: ${Arrays.toString(commits)}")
            try {
                commits.each { checkCommit(it) }
            } finally {
                THREAD_POOL.shutdown()
            }
        }
    
        static void checkCommit(String commit) {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy

    @Immutable
    class ApiChange {
        String type
        String member
        List<String> changes
    
        static ApiChange parse(Object json) {
            new ApiChange(json.type, json.member, json.changes ?: [])
        }
    
        String toString() {
            def formattedMember = member - "$type."
            "$type - $formattedMember - $changes"
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1023 bytes
    - Viewed (0)
Back to top