Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for members (0.2 sec)

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

    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes file
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val sortedChanges = sortChanges(loadChanges())
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (member instanceof JApiClass) {
                return isIncubatingClass((JApiClass) member)
            }
            if (member instanceof JApiMethod) {
                return isIncubatingOrOverrideMethod((JApiMethod) member)
            }
            if (member instanceof JApiField) {
                return isIncubatingField((JApiField) member)
            }
            if (member instanceof JApiConstructor) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                """
                    {
                        "acceptedApiChanges": [
                            {
                                "type": "org.gradle.api.tasks.AbstractExecTask",
                                "member": "Method org.gradle.api.tasks.AbstractExecTask.getExecResult()",
                                "acceptation": "Removed for Gradle 8.0",
                                "changes": [
                                    "Method has been removed"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        // with the sort used by AbstractAcceptedApiChangesMaintenanceTask.
                        result.acceptedApiChanges.sort((a, b) => { 
                            if ((a.type +'#' + a.member) > (b.type + '#' + b.member)) {
                                return 1; 
                            } else {
                                return -1;
                            }
                        });
    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)
  5. .cm/summary_table.cm

    # its own file.
    
    on:
      - pr_created
      - commit
    
    automations:
    
      summary_table:
        if:
          - {{ is.requested or not pr.author_is_org_member }}
          - {{ author.using_gitstream or not pr.author_is_org_member }}
        run:
          - action: add-comment@v1
            args:
              comment:
                <h3>Change Summary</h3>
                This PR is {{ changes.ratio | round(2) }}% new code.
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

        BinaryBreakingSuperclassChangeRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        protected boolean changed(JApiCompatibility member) {
            return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty
        }
    
        @Override
        protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'")
            }
    }
    
    
    internal
    enum class MemberType {
        TYPE, CONSTRUCTOR, FIELD, METHOD
    }
    
    
    private
    fun memberTypeFor(member: CtMember): MemberType =
        when (member) {
            is CtConstructor -> MemberType.CONSTRUCTOR
            is CtField -> MemberType.FIELD
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:20:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                "Did not find expected error message in $this"
            }
        }
    
        protected
        data class Change(val type: String, val member: String) {
            override fun toString(): String = "Type: '$type', Member: '$member'"
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Nov 28 21:09:42 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            interfaces = ['internal': internalInterface,
                          'incubating': incubatingInterface]
        }
    
        def "#member change should not be reported"() {
            expect:
            noViolation(rule)
    
            where:
            member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)]
        }
    
        def "nothing should be reported if no changes"() {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

        MethodsRemovedInInternalSuperClassRule(Map<String, Object> params) {
            super(params)
        }
    
        protected boolean changed(JApiCompatibility member) {
            return member.compatibilityChanges.contains(JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS)
        }
    
        protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) {
    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)
Back to top