- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for CtClass (0.1 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 04 08:05:22 UTC 2024 - 11.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
object KotlinMetadataQueries { fun isKotlinFileFacadeClass(ctClass: CtClass): Boolean = if (Modifier.isPrivate(ctClass.modifiers)) false else queryKotlinMetadata(ctClass) { metadata -> when (metadata) { is KotlinClassMetadata.FileFacade -> true else -> false } } fun isKotlinInternal(ctClass: CtClass): 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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
} private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) { return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort() } private boolean isFirstPublicClassInHierarchy(CtMethod method, CtClass c) { List<CtClass> classesContainingMethod = [] CtClass current = c while (current != null) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
interface IncubatingInterface {} interface InternalInterface {} interface StablePublicInterface {} CtClass oldBase CtClass newBase CtClass newSuper CtClass newIncubatingBase CtClass internalInterface CtClass incubatingInterface CtClass stablePublicInterface Map interfaces def setup() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
} protected abstract boolean changed(JApiCompatibility member) protected abstract Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) protected boolean isInternal(CtClass c) { if (c.name.startsWith("java.")) { return false } else if (c.name.contains('.internal.')) { return true } else {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/BridgeForBytecodeUpgradeAdapterClassFilter.groovy
import japicmp.filter.ClassFilter import javassist.CtClass import org.gradle.api.Generated /** * $$BridgeFor$$ classes generated for bytecode upgrade instrumentation */ class BridgeForBytecodeUpgradeAdapterClassFilter implements ClassFilter { private static final BRIDGE_CLASS_PREFIX = "\$\$BridgeFor\$\$" @Override boolean matches(CtClass ctClass) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 11 09:56:18 UTC 2024 - 1.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInternalFilter.groovy
import japicmp.filter.FieldFilter import javassist.CtBehavior import javassist.CtClass import javassist.CtField /** * Matches Kotlin <code>internal</code> members. */ class KotlinInternalFilter implements ClassFilter, FieldFilter, BehaviorFilter { @Override boolean matches(CtClass ctClass) { return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctClass) } @Override boolean matches(CtField ctField) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy
import japicmp.filter.ClassFilter import javassist.CtClass import java.util.regex.Pattern /** * Matches JVM anonymous classes. */ class AnonymousClassesFilter implements ClassFilter { private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$') @Override boolean matches(CtClass ctClass) { return ctClass.name.matches(PATTERN) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility.rules import japicmp.model.JApiCompatibilityChange import japicmp.util.Optional import javassist.CtClass import me.champeau.gradle.japicmp.report.Violation class MethodsRemovedInInternalSuperClassRuleTest extends AbstractContextAwareRuleSpecification { MethodsRemovedInInternalSuperClassRule rule
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.9K bytes - Viewed (0)