- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isOverrideMethod (0.12 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java
} private boolean shouldSkipViolationCheckFor(JApiCompatibility member) { return !isClassFieldConstructorOrMethod(member) || isInject(member) || isOverrideMethod(member) || isKotlinFileFacadeClass(member); } private boolean isClassFieldConstructorOrMethod(JApiCompatibility member) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 21 16:02:23 UTC 2023 - 2.7K bytes - Viewed (0) -
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) -
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) -
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)