Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for acceptOrReject (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                }
                if (infixChanged) {
                    changes.add(modifierChangeDetail("infix", newIsInfix))
                }
                return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change"))
            }
    
            return null
        }
    
        private static String modifierChangeDetail(String modifier, boolean added) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
Back to top