Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Methods (0.19 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            MethodDoc method2 = methodDoc('methodName', id: 'method2Id', returnType: 'ReturnType2', description: 'overloaded description', comment: 'overloaded comment', paramTypes: ['ParamType'])
            _ * classDoc.classProperties >> []
            _ * classDoc.classMethods >> [method1, method2]
            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  2. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    This has been mostly done, but there remain a few hold outs (fixing these are out of scope).
    
    To keep the Groovy DSL ergonomic, we generate methods as necessary from the non-Groovy equivalents.
    
    Doing this provides the following specific benefits:
    - **Reduce the API surface** - We no longer need to maintain two methods.
    - **Consistency** - All languages have consistent access to the same APIs and ergonomics in the DSL.
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        public MethodMetaData addMethod(String name, TypeMetaData returnType, String rawCommentText) {
            MethodMetaData method = new MethodMetaData(name, this);
            declaredMethods.add(method);
            method.setReturnType(returnType);
            method.setRawCommentText(rawCommentText);
            return method;
        }
    
        @Override
        public void resolveTypes(Transformer<String, String> transformer) {
    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)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            delegate.methods.filter(::isSignificantDeclaration).map { ApiFunction(asmLevel, incubatingAnnotationTypeDescriptor, this, it, context) }
        }
    
        private
        fun singleAbstractMethodOf(classNode: ClassNode) =
            classNode.methods.singleOrNull { it.access.run { !isStatic && isAbstract } }
    
        /**
         * Test if a method is a prime declaration or an overrides that change the signature.
    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)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

                    .flatMap { it.methods.asSequence().filter { it.isPublic && it.parameterTypes.isNotEmpty() } }
                    .map { method -> fullyQualifiedSignatureOf(method) to commaSeparatedParameterNamesOf(method) }
                    .toMap(linkedMapOf())
            }
    
        private
        fun fullyQualifiedSignatureOf(method: JavaMethod): String =
            "${method.declaringClass.binaryName}.${method.name}(${signatureOf(method)})"
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            <table>
                <thead><tr><td>Name</td></tr></thead>
                <tr><td>b</td></tr>
                <tr><td>a</td></tr>
            </table>
        </section>
        <section><title>Methods</title><table><thead><tr></tr></thead></table></section>
    </section>
    ''')
    
            when:
            ClassDoc doc = withCategories {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K 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 May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jul 31 14:47:08 GMT 2023
    - 3.4K bytes
    - Viewed (1)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            try {
                //classDoc renderer renders the content of the class and also links to properties/methods
                new ClassDocRenderer(new LinkRenderer(document, model)).mergeContent(classDoc, document.documentElement)
                def linkMetaData = linkRepository.get(classDoc.name)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

                "Method" to "$containingType.getBarExt(java.lang.String)",
                "Method" to "$containingType.getBazar()",
                "Method" to "$containingType.getBazarExt(int)",
            ) + (if (isEnum) listOf(
                "Method" to "$containingType.getEntries()",
            ) else emptyList()) + listOf(
                "Method" to "$containingType.setBazar(java.lang.String)",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

            if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) {
                return null
            }
    
            JApiMethod method = (JApiMethod) member
    
            def metadata = KotlinMetadataQueries.INSTANCE
    
            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
            def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Viewed (0)
Back to top