Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isKotlinFileFacadeClass (0.14 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/sources/KotlinSourceQueries.kt

        }
    
    
    private
    val CtClass.baseQualifiedKotlinName: String
        get() =
            if (isKotlinFileFacadeClass) packageName
            else name
    
    
    private
    val CtClass.isKotlinFileFacadeClass: Boolean
        get() = KotlinMetadataQueries.isKotlinFileFacadeClass(this)
    
    
    private
    fun CtBehavior.firstParameterMatches(ktTypeReference: KtTypeReference): Boolean =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

    import kotlinx.metadata.isInfix
    import kotlinx.metadata.isOperator
    import kotlinx.metadata.jvm.KotlinClassMetadata
    import java.lang.reflect.Proxy
    
    
    object KotlinMetadataQueries {
    
        fun isKotlinFileFacadeClass(ctClass: CtClass): Boolean =
            if (Modifier.isPrivate(ctClass.modifiers)) false
            else queryKotlinMetadata(ctClass) { metadata ->
                when (metadata) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top