Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for cflags (0.2 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

    fun KotlinClassMetadata.hasKotlinFlag(memberType: MemberType, jvmSignature: String, flag: Flag): Boolean =
        hasKotlinFlags(memberType, jvmSignature) { flags ->
            flag(flags)
        }
    
    
    private
    fun KotlinClassMetadata.hasKotlinFlags(memberType: MemberType, jvmSignature: String, predicate: (Flags) -> Boolean): Boolean =
        when (this) {
            is KotlinClassMetadata.Class -> hasClassFlags(this::toKmClass, memberType, jvmSignature, predicate)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:14:15 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            FileCollectionBackedTextResource(temporaryFileProvider, windowsScriptTemplate, StandardCharsets.UTF_8)
        )
    
        /**
         * Modifies the start script injecting -javaagent flags. The start script file is updated in-place by appending Java agent switches to 'DEFAULT_JVM_OPTS' variable declaration.
         */
        private
        fun File.injectAgentOptions(separator: String) {
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java

    package org.gradle.test;
    
    public class JavaClassWithMethods {
        public JavaClassWithMethods(String value) {
        }
    
        /**
         * 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.
         */
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 717 bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

        static class OldSub extends OldBase {}
    
        static class NewSuperInternal {}
    
        static class NewBase extends NewSuperInternal {}
    
        static class NewSub extends NewBase {}
    
        Map classes = [:]
    
        def setup() {
            rule = new MethodsRemovedInInternalSuperClassRule(getInitializationParams())
            rule.context = context
            [OldSuperInternal, NewSuperInternal].each {
    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)
  5. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java

    import org.gradle.test.sub2.Sub2Interface;
    
    public class JavaClassWithInnerTypes implements Sub2Interface {
        /**
         * This is an inner enum.
         */
        enum InnerEnum {
        }
    
        /**
         * This is an inner class.
         */
        static class InnerClass {
            InnerEnum getEnumProp() { return null; }
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 876 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            when:
            def link = renderer.link(type('some.other.Class'), listener)
    
            then:
            format(link) == '<classname>some.other.Class</classname>'
        }
    
        def rendersLinkToExternalClassArray() {
            when:
            def link = renderer.link(type('some.other.Class', true), listener)
    
            then:
            format(link) == '<classname><classname>some.other.Class</classname>[]</classname>'
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

    import org.gradle.api.Incubating
    
    class IncubatingInternalInterfaceAddedRuleTest extends AbstractContextAwareRuleSpecification {
        IncubatingInternalInterfaceAddedRule rule
    
        static class OldSuper {}
    
        static class OldBase extends OldSuper {}
    
        static class NewSuper {}
    
        static class NewBase extends NewSuper {}
    
        @Incubating
        static class NewIncubatingBase extends NewSuper {}
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun getAstVisitorClass(): Class<*> = IntegrationTestFixtureVisitor::class.java
    }
    
    
    class IntegrationTestFixtureVisitor : AbstractAstVisitor() {
    
        /**
         * Determines if the class is an integration test. It's a bit weak, but we cannot
         * rely on the class node analysis since it doesn't give the right superclass because
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                if (it.isBlank()) "" else "import $it"
            }
        }
    
        private
        fun groovyProjectAccessors(): String {
            val objectMethods = Any::class.java.declaredMethods.toList()
            return Project::class
                .memberFunctions
                .asSequence()
                .mapNotNull { it.javaMethod }
                .filterNot { objectMethods.contains(it) }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class ClassMetaDataTest extends Specification {
        def "is deprecated when @Deprecated annotation is attached to class"() {
            def notDeprecated = new ClassMetaData("SomeClass")
            def deprecated = new ClassMetaData("SomeClass")
            deprecated.addAnnotationTypeName(Deprecated.class.name)
    
            expect:
            !notDeprecated.deprecated
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Viewed (0)
Back to top