- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for functionAttribute (0.12 sec)
-
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 Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Aug 21 12:41:59 UTC 2024 - 4.8K bytes - Viewed (0) -
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 Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Aug 21 11:57:24 UTC 2024 - 5.9K bytes - Viewed (0)