- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for oldClass (0.05 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
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/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
apiClass.compatibilityChanges >> [JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS] } def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
return member.compatibilityChanges.contains(JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS) } protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) { Set<CtMethod> oldMethods = collectAllPublicApiMethods(oldClass.superclass) Set<CtMethod> newMethods = collectAllPublicApiMethods(newClass.superclass) oldMethods.removeAll(newMethods) if (oldMethods.isEmpty()) {
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/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
return member.getChangeStatus() == JApiChangeStatus.MODIFIED } protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) { Map<String, CtClass> oldInterfaces = collectImplementedInterfaces(oldClass) Map<String, CtClass> newInterfaces = collectImplementedInterfaces(newClass) newInterfaces.keySet().removeAll(oldInterfaces.keySet())
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/BinaryBreakingSuperclassChangeRule.groovy
return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty } @Override protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) { return acceptOrReject(apiClass.superclass, Violation.notBinaryCompatible(apiClass.superclass)) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
stablePublicInterface = instanceScopedPool.get(StablePublicInterface.name) apiClass.changeStatus >> JApiChangeStatus.MODIFIED apiClass.oldClass >> Optional.of(oldBase) apiClass.newClass >> Optional.of(newBase) internalInterface.name = replaceAsInternal(internalInterface.name) interfaces = ['internal': internalInterface,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 4K bytes - Viewed (0)