Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Annotation (0.2 sec)

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

    import javassist.bytecode.annotation.AnnotationMemberValue
    import javassist.bytecode.annotation.ArrayMemberValue
    import javassist.bytecode.annotation.BooleanMemberValue
    import javassist.bytecode.annotation.ByteMemberValue
    import javassist.bytecode.annotation.CharMemberValue
    import javassist.bytecode.annotation.ClassMemberValue
    import javassist.bytecode.annotation.DoubleMemberValue
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K 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)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        "kotlin/com/example/Source.kt",
                        """
                        package com.example
    
                        import org.gradle.api.Incubating
                        import javax.annotation.Nullable
    
                        $v1
                        """
                    )
                },
                v2 = {
                    withFile(
                        "kotlin/com/example/Source.kt",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            // Enable it only for the main source set by default, as incremental Groovy
            // joint-compilation doesn't work with the Error Prone annotation processor
            extension.enabled.convention(this.name == "main")
    
            project.dependencies.addProvider(
                annotationProcessorConfigurationName,
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                    com.beust and org.testng.collections has classes that look like Guava.
    
                    We prefer to import javax.annotation and fully-qualify references to org.jetbrains.annotations.
                -->
                <property name="illegalPkgs" value="jdk.internal,com.beust,org.testng.collections,org.jetbrains.annotations"/>
                <!-- The variants from org.gradle.util.internal should be used instead-->
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 16 22:05:16 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            |
            |import org.intellij.lang.annotations.Language
            |
            |import java.lang.annotation.Retention
            |import java.lang.annotation.RetentionPolicy
            |import java.lang.annotation.Target
            |
            |import static java.lang.annotation.ElementType.ANNOTATION_TYPE
            |import static java.lang.annotation.ElementType.FIELD
            |import static java.lang.annotation.ElementType.LOCAL_VARIABLE
    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)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

        }
    
        @Override
        public void visit(AnnotationDeclaration annotationDeclaration, ClassMetaDataRepository<ClassMetaData> repository) {
            visitTypeDeclaration(annotationDeclaration, repository, MetaType.ANNOTATION, () -> {
                super.visit(annotationDeclaration, repository);
            });
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            get() = ctAnnotation<Metadata>()?.let { annotation ->
                Metadata(
                    kind = annotation.getMemberValue("k")?.intValue ?: 1,
                    metadataVersion = annotation.getMemberValue("mv")?.intArrayValue ?: IntArray(0),
                    data1 = annotation.getMemberValue("d1")?.stringArrayValue ?: arrayOf(),
                    data2 = annotation.getMemberValue("d2")?.stringArrayValue ?: arrayOf(),
    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)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

        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
            deprecated.deprecated
        }
    
        def "is incubating when @Incubating annotation is attached to class"() {
    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