Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isKotlinOperatorFunction (0.1 sec)

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

            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
            def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod)
            def newIsOperator = metadata.isKotlinOperatorFunction(newMethod)
    
            def oldIsInfix = metadata.isKotlinInfixFunction(oldMethod)
            def newIsInfix = metadata.isKotlinInfixFunction(newMethod)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

        fun isKotlinInternal(ctMember: CtMember): Boolean =
            if (Modifier.isPrivate(ctMember.modifiers)) false
            else hasAttribute(ctMember, AttributePredicate.visibility(Visibility.INTERNAL))
    
        fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean =
            hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isOperator))
    
        fun isKotlinInfixFunction(ctMethod: CtMethod): 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