- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for acceptOrReject (0.38 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
return null } List<String> changes = filterChangesToReport(oldClass, oldMethods) if (changes.isEmpty()) { return null } return acceptOrReject(c, changes, Violation.error(c, " methods removed in internal super class")) } private Set<CtMethod> collectAllPublicApiMethods(CtClass c) { Set<CtMethod> result = [] as Set collect(result, c)
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/AbstractGradleViolationRule.groovy
return repository.isOverride(method) } Violation acceptOrReject(JApiCompatibility member, Violation rejection) { List<String> changes = member.compatibilityChanges.collect { Violation.describe(it) } return acceptOrReject(member, changes, rejection) } Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 10.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy
} @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/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java
return violationError(member); } } return null; } private Violation violationError(JApiCompatibility member) { return acceptOrReject(member, Violation.error(member, "Is not annotated with @Incubating")); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
if (isIncubating((JApiHasAnnotations) member)) { return Violation.warning(member, "Changed public API (@Incubating)"); } } return acceptOrReject(member, Violation.notBinaryCompatible(member)); } return null; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
return null } List<String> changes = filterChangesToReport(newClass, newInterfaces) if (changes.isEmpty()) { return null } return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces")) } private Map<String, CtClass> collectImplementedInterfaces(CtClass c) { Map<String, CtClass> result = [:]
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/SinceAnnotationMissingRule.java
if (shouldSkipViolationCheckFor(member) || getRepository().isSince(getCurrentVersion(), member)) { return null; } return acceptOrReject(member, Violation.error(member, SINCE_ERROR_MESSAGE + getCurrentVersion())); } private boolean shouldSkipViolationCheckFor(JApiCompatibility member) { return !isClassFieldConstructorOrMethod(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/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
warnings << "Return nullability changed from nullable to non-nullable" } } if (!errors.isEmpty()) { def changes = errors + warnings return acceptOrReject(member, changes, Violation.error(member, changes.join(" "))) } if (!warnings.isEmpty()) { return Violation.warning(member, warnings.join(" ")) } return null }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 13 10:04:28 UTC 2024 - 5.4K bytes - Viewed (0)