Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for JApiClass (0.06 sec)

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

        /**
         * Kotlin file-facade classes can't have kdoc comments.
         */
        private boolean isKotlinFileFacadeClass(JApiCompatibility member) {
            return member instanceof JApiClass && KotlinMetadataQueries.INSTANCE.isKotlinFileFacadeClass(((JApiClass) member).getNewClass().get());
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

    @file:JvmName("JapicmpExtensions")
    
    package gradlebuild.binarycompatibility
    
    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()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
                }
            }
    
        private
        val JApiClass.sourceFilePath: String
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            jApiClassifier.fullyQualifiedName >> TEST_INTERFACE_NAME
            jApiField.name >> 'field'
            jApiField.jApiClass >> jApiClassifier
            jApiMethod.name >> 'method'
            jApiMethod.jApiClass >> jApiClassifier
            jApiConstructor.name >> 'ApiTest'
            jApiConstructor.jApiClass >> jApiClassifier
    
            incubatingAnnotation.fullyQualifiedName >> Incubating.name
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithInject(member)
        }
    
        protected boolean isIncubating(JApiHasAnnotations member) {
            if (member instanceof JApiClass) {
                return isIncubatingClass((JApiClass) member)
            }
            if (member instanceof JApiMethod) {
                return isIncubatingOrOverrideMethod((JApiMethod) member)
            }
            if (member instanceof JApiField) {
    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/JavaSourceQueries.kt

    import com.github.javaparser.ast.nodeTypes.NodeWithSimpleName
    import com.github.javaparser.ast.visitor.GenericVisitorAdapter
    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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    package gradlebuild.binarycompatibility.sources
    
    import gradlebuild.basics.decapitalize
    import gradlebuild.binarycompatibility.isSynthetic
    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
    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