Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for functionAttribute (0.12 sec)

  1. 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)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

                override fun match(kmPropertyAccessorAttributes: KmPropertyAccessorAttributes) = kmPropertyAccessorAttributes.visibility == visibility
            }
    
            fun functionAttribute(test: (KmFunction) -> Boolean): AttributePredicate = object: AttributePredicate {
                override fun match(kmClass: KmClass) = false
                override fun match(kmConstructor: KmConstructor) = false
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:57:24 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top