Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isOverrideMethod (0.06 sec)

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

                when (apiSourceFile) {
                    is ApiSourceFile.Java -> sources.executeQuery(apiSourceFile, JavaSourceQueries.isOverrideMethod(method))
                    is ApiSourceFile.Kotlin -> sources.executeQuery(apiSourceFile, KotlinSourceQueries.isOverrideMethod(method))
                }
            }
    
        fun isSince(version: String, member: JApiCompatibility): Boolean =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    import japicmp.model.JApiField
    import japicmp.model.JApiMethod
    
    
    private
    typealias PredicateVisitor = GenericVisitorAdapter<Boolean, Unit?>
    
    
    internal
    object JavaSourceQueries {
    
        fun isOverrideMethod(method: JApiMethod): JavaSourceQuery<Boolean> =
            JavaSourceQuery(
                false,
                object : PredicateVisitor() {
                    override fun visit(declaration: MethodDeclaration, arg: Unit?): Boolean? {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    import org.jetbrains.kotlin.psi.psiUtil.collectDescendantsOfType
    import org.jetbrains.kotlin.psi.psiUtil.containingClassOrObject
    
    
    internal
    object KotlinSourceQueries {
    
        fun isOverrideMethod(method: JApiMethod): (KtFile) -> Boolean = { ktFile ->
            val ctMethod = method.newMethod.get()
            ktFile.kotlinDeclarationSatisfies(ctMethod.declaringClass, ctMethod) { ktMember ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top