Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 132 for void (0.12 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        val hasGetterName = hasGetGetterName || hasIsGetterName
        val hasSetterName = method.name.matches(propertySetterNameRegex)
        val paramCount = method.parameterTypes.size
        val returnsVoid = method.returnType.name == "void"
    
        val couldBeProperty =
            (hasGetterName && paramCount == 0 && !returnsVoid) || (hasSetterName && paramCount == 1 && returnsVoid)
    
        val couldBeExtensionProperty =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    private
    fun binaryNameOfInternalName(internalName: String): String =
        Type.getObjectType(internalName).className
    
    
    fun sourceNameOfBinaryName(binaryName: String): String =
        when (binaryName) {
            "void" -> "Unit"
            "?" -> "*"
            in mappedTypeStrings.keys -> mappedTypeStrings[binaryName]!!
            in primitiveTypeStrings.keys -> primitiveTypeStrings[binaryName]!!
            else -> binaryName.replace('$', '.')
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. 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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        public void setSuperClassName(String superClassName) {
            this.superClassName = superClassName;
        }
    
        public ClassMetaData getSuperClass() {
            return superClassName == null ? null : metaDataRepository.find(superClassName);
        }
    
        public List<String> getInterfaceNames() {
            return interfaceNames;
        }
    
        public void addInterfaceName(String name) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 10.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                this.document = document;
            }
    
            public void add(HtmlElementHandler handler) {
                elementHandlers.add(handler);
            }
    
            public void add(JavadocTagHandler handler) {
                tagHandlers.add(handler);
            }
    
            @Override
            void onStartHtmlElement(String name) {
                attributes.clear();
            }
    
            @Override
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                elements.add((Element) node);
            }
            return elements;
        }
    
        public void appendChild(String text) {
            appendChild(document.createTextNode(text));
        }
    
        public void appendChild(Node node) {
            boolean inPara = false;
            if (node instanceof Element) {
                Element element = (Element) node;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

    import java.io.File
    import java.util.SortedSet
    
    
    open class GradleDistribution(private val gradleHomeDir: FileCollection) {
    
        /**
         * Make sure this stays type FileCollection (lazy) to avoid losing dependency information.
         */
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
        val staticContent: FileCollection
            get() = gradleHomeDir.asFileTree.matching {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Dec 16 19:35:39 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/CheckProject.kt

        params {
            param("credentialsStorageType", "credentialsJSON")
            // Disallow Web UI changes to TeamCity settings
            param("teamcity.ui.settings.readOnly", "true")
            // Avoid rebuilding same revision if it's already built on another branch
            param("teamcity.vcsTrigger.runBuildOnSameRevisionInEveryBranch", "false")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

    import org.gradle.jvm.toolchain.JavaToolchainService;
    
    import java.util.Collections;
    
    public class GradleBuildDocumentationPlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
            ObjectFactory objects = project.getObjects();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 17 20:04:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java

        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            return "value";
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
        CombinedInterface refTypeMethod(JavaInterface refParam, boolean aFlag) {
            return null;
        }
    
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 717 bytes
    - Viewed (0)
Back to top