- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isPresent (0.17 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
if (!changed(member)) { return null } Optional<CtClass> oldClass = member.oldClass Optional<CtClass> newClass = member.newClass if (!oldClass.isPresent() || !newClass.isPresent()) { // breaking change would be reported return null } return checkSuperClassChanges(member, oldClass.get(), newClass.get()) }
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
Set<AccessorKey> seenOldAccessorsOfUpgradedProperties = (Set<AccessorKey>) context.userData[SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES] UpgradedProperties.maybeGetKeyOfOldAccessorOfUpgradedProperty(member, context).ifPresent { seenOldAccessorsOfUpgradedProperties.add(it) } def change = new ApiChange( context.className, Violation.describe(member), changes )
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 10.4K bytes - Viewed (0)