Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for members (0.15 sec)

  1. 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)
  2. 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)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

        @SuppressWarnings("unchecked")
        public Violation maybeViolation(final JApiCompatibility member) {
            if (!member.isBinaryCompatible()) {
                if ((member instanceof JApiClass) && (member.getCompatibilityChanges().isEmpty())) {
                    // A member of the class breaks binary compatibility.
                    // That will be handled when the member is passed to `maybeViolation`.
                    return null;
                }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

        IncubatingInternalInterfaceAddedRule(Map<String, Object> params) {
            super(params)
        }
    
        protected boolean changed(JApiCompatibility member) {
            return member.getChangeStatus() == JApiChangeStatus.MODIFIED
        }
    
        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
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt

        """$licenseHeader
    
    @file:Suppress(
        "unused",
        "nothing_to_inline",
        "useless_cast",
        "unchecked_cast",
        "extension_shadowed_by_member",
        "redundant_projection",
        "RemoveRedundantBackticks",
        "ObjectPropertyName",
        "deprecation"
    )
    @file:org.gradle.api.Generated${if (isIncubating) "\n@file:org.gradle.api.Incubating" else ""}
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Nov 12 16:16:08 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top