Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CtMethod (0.05 sec)

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

            else hasAttribute(ctMember, AttributePredicate.visibility(Visibility.INTERNAL))
    
        fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean =
            hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isOperator))
    
        fun isKotlinInfixFunction(ctMethod: CtMethod): Boolean =
            hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isInfix))
    
        private
    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/sources/KotlinSourceQueries.kt

    
    internal
    object KotlinSourceQueries {
    
        fun isOverrideMethod(method: JApiMethod): (KtFile) -> Boolean = { ktFile ->
            val ctMethod = method.newMethod.get()
            ktFile.kotlinDeclarationSatisfies(ctMethod.declaringClass, ctMethod) { ktMember ->
                ktMember.hasModifier(KtTokens.OVERRIDE_KEYWORD)
            }
        }
    
    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/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

            } else if (member instanceof JApiMethod) {
    
                JApiMethod method = (JApiMethod) member
                CtMethod oldMethod = method.oldMethod.get()
                CtMethod newMethod = method.newMethod.get()
    
                inspectParametersNullabilityOf(oldMethod, newMethod)
    
                def oldNullability = hasNullableAnnotation(oldMethod)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top