Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for jApiField (0.12 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        File sourceFile
    
        BinaryCompatibilityRepository repository
    
        def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations
        def jApiMethod = Stub(JApiMethod)
        def jApiField = Stub(JApiField) // represents fields and enum literals
        def jApiConstructor = Stub(JApiConstructor)
        def incubatingAnnotation = Stub(JApiAnnotation)
        def deprecatedAnnotation = Stub(JApiAnnotation)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                        warnings << "Parameter $idx nullability changed from non-nullable to nullable".toString()
                    }
                }
            }
    
            if (member instanceof JApiField) {
    
                JApiField field = (JApiField) member
                CtField oldField = field.oldFieldOptional.get()
                CtField newField = field.newFieldOptional.get()
    
                def oldNullability = hasNullableAnnotation(oldField)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

    import japicmp.model.JApiBehavior
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiField
    
    
    internal
    val JApiCompatibility.jApiClass: JApiClass
        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
            else -> error("Unsupported japicmp member type '${this::class}'")
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    import gradlebuild.binarycompatibility.jApiClass
    import gradlebuild.binarycompatibility.simpleName
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiConstructor
    import japicmp.model.JApiField
    import japicmp.model.JApiMethod
    
    
    private
    typealias PredicateVisitor = GenericVisitorAdapter<Boolean, Unit?>
    
    
    internal
    object JavaSourceQueries {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            }
            if (member instanceof JApiMethod) {
                return isIncubatingOrOverrideMethod((JApiMethod) member)
            }
            if (member instanceof JApiField) {
                return isIncubatingField((JApiField) member)
            }
            if (member instanceof JApiConstructor) {
                return isIncubatingConstructor((JApiConstructor) member)
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    import gradlebuild.binarycompatibility.metadata.KotlinMetadataQueries
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiConstructor
    import japicmp.model.JApiField
    import japicmp.model.JApiMethod
    import javassist.CtBehavior
    import javassist.CtClass
    import javassist.CtConstructor
    import javassist.CtField
    import javassist.CtMember
    import javassist.CtMethod
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top