Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KmFunction (0.04 sec)

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

                override fun match(kmFunction: KmFunction) = kmFunction.visibility == visibility
                override fun match(kmPropertyAccessorAttributes: KmPropertyAccessorAttributes) = kmPropertyAccessorAttributes.visibility == visibility
            }
    
            fun functionAttribute(test: (KmFunction) -> Boolean): AttributePredicate = object: AttributePredicate {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:57:24 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

        fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean =
            hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isOperator))
    
        fun isKotlinInfixFunction(ctMethod: CtMethod): Boolean =
            hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isInfix))
    
        private
        fun hasAttribute(ctClass: CtClass, predicate: AttributePredicate): Boolean =
    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