Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for annotation (0.14 sec)

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

            return true
        }
    
        private static boolean isAnnotatedWithIncubating(JApiHasAnnotations member) {
            member.annotations*.fullyQualifiedName.any { it == Incubating.name }
        }
    
        private static boolean isAnnotatedWithDeprecated(JApiHasAnnotations member) {
            member.annotations*.fullyQualifiedName.any { it == Deprecated.name || it == kotlin.Deprecated.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

            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            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)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

    import javassist.Modifier
    import javassist.bytecode.annotation.AnnotationImpl
    import me.champeau.gradle.japicmp.report.Violation
    
    import javax.annotation.Nullable
    import java.lang.annotation.Annotation
    import java.lang.reflect.Proxy
    
    @CompileStatic
    class NullabilityBreakingChangesRule extends AbstractGradleViolationRule {
    
        private static final List<Class<? extends Annotation>> NULLABLE_ANNOTATIONS = [Nullable, org.jetbrains.annotations.Nullable]
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top