Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deprecate (0.14 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        }
    
        private static boolean isAnnotatedWithDeprecated(JApiHasAnnotations member) {
            member.annotations*.fullyQualifiedName.any { it == Deprecated.name || it == kotlin.Deprecated.name }
        }
    
        private static boolean isAnnotatedWithInject(JApiHasAnnotations member) {
            member.annotations*.fullyQualifiedName.any { it == Inject.name }
        }
    
    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)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            when:
            jApiType.annotations >> [deprecatedAnnotation]
            sourceFile.text = """
                @Deprecated
                public interface $TEST_INTERFACE_SIMPLE_NAME {
                    @Deprecated
                    String field = "value";
                    @Deprecated
                    void method();
                }
            """
    
            then:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top